* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', 'Noto Sans TC', sans-serif;
  scroll-behavior: smooth;
}

html[data-lang="zh"] * {
  font-family: 'Noto Sans TC', 'Montserrat', sans-serif !important;
}

body {
  background: #F9FAFB;
  color: #1F2937;
  line-height: 1.6;
  overflow-x: hidden;
}

.card-shadow {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar {
  background: #FFFFFF;
  padding: 1rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.navbar-nav {
  align-items: center;
}

.navbar-brand img {
  height: 48px;
  transition: transform 0.3s ease;
}

.navbar-brand img:hover {
  transform: scale(1.1);
}

.nav-link {
  color: #1F2937 !important;
  font-weight: 500;
  padding: 0.5rem 1rem;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #22D3EE;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: #22D3EE !important;
  transform: translateY(-2px);
}

.lang-toggle {
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  color: #1F2937;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lang-toggle:hover {
  color: #22D3EE;
}

.navbar-toggler {
  border: none;
  outline: none;
  box-shadow: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler-icon {
  font-size: 1.5rem;
  color: #1F2937;
  display: inline-block;
  vertical-align: middle;
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 900 !important;
}

.navbar-toggler svg {
  display: none;
  vertical-align: middle;
}

.navbar-toggler.font-awesome-fail .navbar-toggler-icon {
  display: none;
}

.navbar-toggler.font-awesome-fail svg {
  display: inline-block;
}

header {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: url('https://storage.googleapis.com/goldenpin/award_work_pic/image/4956/detail_image_76b850.jpeg') no-repeat center center fixed;
  background-size: cover;
  background-color: #0a1520;
}

header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

header .container {
  position: relative;
  z-index: 10;
  max-width: 900px;
}

header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 0 0 10px rgba(0, 0, 0, 1), 0 0 20px rgba(0, 0, 0, 1), 2px 2px 4px #000000;
  margin-bottom: 1rem;
}

header p {
  font-size: 1.1rem;
  font-weight: 400;
  color: #FFFFFF;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 0 0 10px rgba(0, 0, 0, 1), 2px 2px 4px #000000;
}

section {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: auto;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1F2937;
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-title::before,
.section-title::after {
  content: '';
  width: 50px;
  height: 1px;
  background: #D1D5DB;
  margin: 0 1rem;
}

.section-title span {
  position: relative;
}

.section-title span::after {
  content: '';
  display: block;
  width: 100px;
  height: 5px;
  background: linear-gradient(to right, #10B981, #22D3EE);
  margin: 1rem auto;
  border-radius: 5px;
}

.section-content {
  font-size: 1.2rem;
  color: #4B5563;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.sub-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1F2937;
  text-align: center;
  margin: 2rem 0;
  position: relative;
  display: inline-block;
  padding: 0.5rem 1rem;
  z-index: 1;
}

.sub-title::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.05), transparent);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: -1;
}

.sub-sub-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1F2937;
  text-align: center;
  margin: 3rem 0 1.5rem;
  position: relative;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.sub-sub-title::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: linear-gradient(to right, #10B981, #22D3EE);
  margin: 0.5rem auto;
  border-radius: 3px;
  animation: expandLine 1s forwards;
}

@keyframes expandLine {
  from { width: 0; }
  to { width: 60px; }
}

.principle-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 0;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.principle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.principle-card .icon-wrapper {
  display: inline-block;
  margin-bottom: 1rem;
}

.principle-card i {
  font-size: 2.5rem;
  color: #000000;
  display: inline-block;
  vertical-align: middle;
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 900 !important;
}

.principle-card svg {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  vertical-align: middle;
}

.principle-card.font-awesome-fail i {
  display: none;
}

.principle-card.font-awesome-fail svg {
  display: inline-block;
}

.principle-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1F2937;
  margin-bottom: 0.5rem;
}

.principle-card p {
  font-size: 0.9rem;
  color: #4B5563;
  margin: 0;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #000000;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 1rem 2rem;
  margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  background: #000000;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 2px #000000;
}

.timeline-item:nth-child(odd)::before {
  right: -10px;
}

.timeline-item:nth-child(even)::before {
  left: -10px;
}

.timeline-content {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 0;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.timeline-content .icon-wrapper {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.timeline-content i {
  font-size: 2rem;
  color: #000000;
  display: inline-block;
  vertical-align: middle;
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 900 !important;
}

.timeline-content svg {
  display: none;
  width: 2rem;
  height: 2rem;
  vertical-align: middle;
}

.timeline-content.font-awesome-fail i {
  display: none;
}

.timeline-content.font-awesome-fail svg {
  display: inline-block;
}

.timeline-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1F2937;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.9rem;
  color: #4B5563;
  margin: 0;
}

.card {
  position: relative;
  height: 450px;
  background: #FFFFFF;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.card .card-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
  opacity: 0;
  padding: 1rem;
  transition: opacity 0.3s ease, background 0.3s ease;
  z-index: 3;
}

.card:hover img {
  transform: scale(1.05);
}

.card:hover .card-content {
  opacity: 1;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5));
}

.card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1F2937;
  margin-bottom: 0.5rem;
  text-align: center;
}

.card p {
  font-size: 0.9rem;
  font-weight: 300;
  color: #1F2937;
  text-align: center;
}

.contact-card {
  background: #FFFFFF;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.contact-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1F2937;
  margin-bottom: 1rem;
}

.contact-card p {
  font-size: 0.9rem;
  font-weight: 400;
  color: #4B5563;
  line-height: 1.6;
  margin: 0;
}

.contact-card a {
  color: #22D3EE;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: #0E7490;
}

.reason-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.reason-card:hover {
  transform: translateY(-5px);
}

.reason-card .icon-wrapper {
  display: inline-block;
  margin-bottom: 1rem;
}

.reason-card i {
  font-size: 2.5rem;
  color: #22D3EE;
  display: inline-block;
  vertical-align: middle;
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 900 !important;
}

.reason-card svg {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  vertical-align: middle;
}

.reason-card.font-awesome-fail i {
  display: none;
}

.reason-card.font-awesome-fail svg {
  display: inline-block;
}

.reason-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1F2937;
  margin-bottom: 0.5rem;
}

.reason-card p {
  font-size: 0.9rem;
  color: #4B5563;
  margin: 0;
}

.testimonial-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
}

.testimonial-card p {
  font-size: 1rem;
  color: #4B5563;
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-card h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #1F2937;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  background: none;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #22D3EE;
  border-radius: 50%;
  padding: 1.5rem;
}

.carousel-indicators {
  bottom: -40px;
}

.carousel-indicators [data-bs-target] {
  background-color: #22D3EE;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.download-section {
  text-align: center;
  background: #F3F4F6;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 3rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.download-section h4 {
  font-size: 1.4rem;
  font-weight: 500;
  color: #1F2937;
  margin-bottom: 1rem;
}

.download-section a {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(to right, #10B981, #22D3EE);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-section a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(34, 211, 238, 0.4);
}

.download-section .icon-wrapper {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5rem;
}

.download-section i {
  display: inline-block;
  vertical-align: middle;
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 900 !important;
}

.download-section svg {
  display: none;
  width: 1rem;
  height: 1rem;
  vertical-align: middle;
}

.download-section.font-awesome-fail i {
  display: none;
}

.download-section.font-awesome-fail svg {
  display: inline-block;
}

.contact-section {
  background: #FFFFFF;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  margin: auto;
  border: 1px solid #E5E7EB;
}

.contact-section h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #1F2937;
  text-align: center;
  margin-bottom: 2rem;
}

.contact-section label {
  font-weight: 500;
  color: #1F2937;
  margin-bottom: 0.5rem;
  display: block;
}

.contact-section input,
.contact-section textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  background: #F9FAFB;
  color: #1F2937;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-section input:focus,
.contact-section textarea:focus {
  border-color: #22D3EE;
  outline: none;
}

.contact-section button {
  width: 100%;
  padding: 1rem;
  background: #000000;
  border: 1px solid #000000;
  border-radius: 0;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-section button:hover {
  background: #FFFFFF;
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-section .icon-wrapper {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5rem;
}

.contact-section i {
  display: inline-block;
  vertical-align: middle;
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 900 !important;
}

.contact-section svg {
  display: none;
  width: 1rem;
  height: 1rem;
  vertical-align: middle;
}

.contact-section.font-awesome-fail i {
  display: none;
}

.contact-section.font-awesome-fail svg {
  display: inline-block;
}

.contact-section .thank-you {
  display: none;
  margin-top: 1rem;
  color: #1F2937;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.contact-section .thank-you.visible {
  display: block;
  opacity: 1;
}

.newsletter-section {
  background: #F8F9FA;
  padding: 3rem 2rem;
  text-align: center;
  color: #1F2937;
}

.newsletter-section h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #000000;
}

.newsletter-section p {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: #4B5563;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.newsletter-form input {
  width: 70%;
  padding: 0.8rem;
  border: 1px solid #E5E7EB;
  border-radius: 0;
  font-size: 1rem;
  background: #FFFFFF;
  color: #1F2937;
}

.newsletter-form button {
  padding: 0.8rem 2rem;
  background: #000000;
  border: 1px solid #000000;
  border-radius: 0;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: #FFFFFF;
  color: #000000;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.newsletter-form .icon-wrapper {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5rem;
}

.newsletter-form i {
  display: inline-block;
  vertical-align: middle;
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 900 !important;
}

.newsletter-form svg {
  display: none;
  width: 1rem;
  height: 1rem;
  vertical-align: middle;
}

.newsletter-form.font-awesome-fail i {
  display: none;
}

.newsletter-form.font-awesome-fail svg {
  display: inline-block;
}

.newsletter-form .thank-you {
  display: none;
  margin-top: 1rem;
  color: #FFFFFF;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.newsletter-form .thank-you.visible {
  display: block;
  opacity: 1;
}

/* Client Logos */
.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 2rem 0;
}

.client-logo {
  width: 120px;
  height: 80px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
  object-fit: contain;
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* Footer Component - Matches RETWIST style */
footer {
  background-color: #F8F9FA;
  padding: 48px 0;
  text-align: center;
  color: #6C757D;
}

.footer-nav {
  margin-bottom: 2rem;
}

.footer-nav a {
  color: #6C757D !important;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #007BFF !important;
}

footer p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

footer .social-links {
  margin-bottom: 16px;
}

footer .social-links a {
  color: #007BFF;
  font-size: 1.5rem;
  margin: 0 1rem;
  transition: color 0.3s ease;
}

footer .social-links a:hover {
  color: #0E7490;
}

.social-links .icon-wrapper {
  display: inline-block;
}

.social-links i {
  display: inline-block;
  vertical-align: middle;
  font-size: 1.5rem;
}

/* Force correct font family for Brand icons */
.fab {
  font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", sans-serif !important;
  font-weight: 400 !important;
}

.social-links svg {
  display: none;
  width: 1.5rem;
  height: 1.5rem;
  vertical-align: middle;
}

.social-links.font-awesome-fail i {
  display: none;
}

.social-links.font-awesome-fail svg {
  display: inline-block;
}

i[class*="fa-"] {
  font-style: normal;
  display: inline-block;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-awesome-fail i[class*="fa-"] {
  display: none !important;
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2.2rem;
  }

  header p {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-title::before,
  .section-title::after {
    width: 30px;
  }

  .sub-title {
    font-size: 1.5rem;
  }

  .sub-sub-title {
    font-size: 1.2rem;
  }

  .principle-card,
  .reason-card,
  .testimonial-card {
    padding: 1.5rem;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding-left: 40px;
    padding-right: 1rem;
  }

  .timeline-item::before {
    left: 8px !important;
    right: auto !important;
  }

  .card {
    height: 350px;
  }

  .contact-section {
    padding: 2rem;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 0.5rem;
  }

  .newsletter-form input {
    width: 100%;
  }
}