body {
  margin: 0;
  font-family: 'Noto Sans', 'Noto Sans SC', 'Poppins', sans-serif;
  background: linear-gradient(135deg, #f0f2f5 0%, #d9e4ec 100%);
  color: #333;
  padding: 2rem 1rem;
  animation: fadeIn 0.6s ease-in;
}

.section {
  max-width: 700px;
  margin: 2rem auto;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  padding: 2rem 2.5rem;
  border-radius: 20px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.section:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.profile-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: contain;
  background: white;
  border: 3px solid #6c63ff;
  margin-bottom: 1rem;
  padding: 10px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

h1 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #222;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}


.subtitle {
  font-size: 1.2rem;
  color: #6c63ff;
  margin-top: -0.3rem;
  position: relative;
}

.typing-placeholder {
  visibility: hidden;
  white-space: nowrap;
  font-weight: 500;
  font-size: 1.2rem;
  position: absolute;
}

.typing {
  display: inline-block;
  white-space: nowrap;
  font-weight: 500;
  font-size: 1.2rem;
  color: #6c63ff;
}

.typing::after {
  content: "|";
  animation: blink 1s infinite;
  color: #6c63ff;
  margin-left: 4px;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

.description {
  font-size: 0.95rem;
  color: #555;
  margin-top: 0.6rem;
  line-height: 1.6;
}

.vcf-btn {
  display: inline-block;
  margin-top: 1rem;
  background: #6c63ff;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s;
}
.vcf-btn:hover {
  background: #4a42d4;
}

.skills-list, .skills-list.cn {
  list-style: none;
  padding: 0;
  text-align: left;
  margin: 1rem 0;
}
.skills-list li, .skills-list.cn li {
  margin: 0.4rem 0;
  font-size: 1rem;
}
.skills-list i {
  color: #6c63ff;
  margin-right: 0.6rem;
}

.product-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}
.product-icons div {
  text-align: center;
}
.product-icons img {
  width: 100px;
  margin-bottom: 0.4rem;
}
.product-icons span {
  font-size: 0.9rem;
  display: block;
  margin-top: 0.2rem;
}

.contact p, .social a {
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 0.5rem 0;
}

.social a {
  background: #f0f0ff;
  border-radius: 12px;
  padding: 0.6rem 1rem;
  text-decoration: none;
  color: #6c63ff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.social a:hover {
  background: #6c63ff;
  color: white;
}

.cards img {
  max-width: 100%;
  border-radius: 12px;
  margin: 1rem 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.qr-link {
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 500;
  color: #6c63ff;
  text-decoration: none;
  border-bottom: 1px dashed #6c63ff;
}
.qr-link:hover {
  color: #3d3dff;
}

.qr-code-container img {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.footer {
  text-align: center;
  font-size: 0.9rem;
  color: #888;
  margin-top: 2rem;
  padding-bottom: calc(3rem + env(safe-area-inset-bottom, 20px));
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.company p {
  font-size: 1rem;
  margin: 0.4rem 0;
}

.company a {
  color: #6c63ff;
  text-decoration: none;
}
.company a:hover {
  text-decoration: underline;
}

.company a, .company a:visited {
  color: #6c63ff;
  text-decoration: none;
}
.company a:hover {
  text-decoration: underline;
}

.whatsapp-cta h2 {
  margin-bottom: 1rem;
  color: #25D366;
}

.whatsapp-button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  background-color: #25D366;
  color: white;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.whatsapp-button:hover {
  background-color: #1ebd58;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  font-size: 28px;
  padding: 16px 16px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 999;
  transition: background 0.3s ease;
}
.whatsapp-float:hover {
  background-color: #1ebd58;
}

.map iframe {
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.language-toggle {
  text-align: right;
  max-width: 700px;
  margin: auto;
  padding-bottom: 0.5rem;
}
.language-toggle button {
  margin-left: 0.4rem;
  padding: 0.4rem 0.8rem;
  border: none;
  background: #6c63ff;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}
.language-toggle button:hover {
  background: #4a42d4;
}

.name-en {
  font-size: 1.6rem;
  font-weight: 500;
  color: #222;
  margin: 0.4rem 0 0;
}

.name-zh {
  font-size: 2rem;          /* Larger size */
  font-weight: 600;           /* Slightly bolder */
  color: #333;                /* Darker for contrast */
  margin: 0.2rem 0 1rem;
  font-family: 'Noto Sans SC', 'Noto Sans', sans-serif;
}

@media (min-width: 768px) {
  .two-column {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
  }
}

.sticky-nav {
  position: fixed;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.8);
  padding: 1rem 0.6rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 999;
}

.sticky-nav a {
  font-size: 1.2rem;
  text-decoration: none;
  color: #444;
  transition: transform 0.2s;
}

.sticky-nav a:hover,
.sticky-nav a.active {
  transform: scale(1.2);
  color: #6c63ff;
  font-weight: bold;
}

/* Mobile bottom bar layout */
@media (max-width: 768px) {
  .sticky-nav {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    flex-direction: row;
    justify-content: space-around;
    padding: 0.8rem 0.5rem;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.96);
  }
}

/* Push last section content above the sticky nav */
.section:last-of-type {
  padding-bottom: calc(2rem + env(safe-area-inset-bottom, 20px));
}

/* Make sure sticky nav floats above everything */
.sticky-nav {
  z-index: 9999;
}

/* Optional: Give QR section extra breathing room */
.section.qr.modern-qr {
  padding-bottom: 3rem;
}


.contact-combined h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #333;
}

.contact-info p {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 0.4rem 0;
}

.quick-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.2rem 0;
}

.btn-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: background 0.3s ease;
}

.btn-contact.whatsapp {
  background: #e7f9f0;
  color: #25D366;
}
.btn-contact.whatsapp:hover {
  background: #25D366;
  color: white;
}

.btn-contact.email {
  background: #f0f0ff;
  color: #6c63ff;
}
.btn-contact.email:hover {
  background: #6c63ff;
  color: white;
}

.quick-chat-highlight {
  margin-top: 2rem;
}
.quick-chat-highlight h3 {
  margin-bottom: 0.8rem;
  color: #25D366;
}

.contact-combined .whatsapp-button {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  font-size: 1rem;
  background-color: #25D366;
  color: white;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.contact-combined .whatsapp-button:hover {
  background-color: #1ebd58;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 1.5rem 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #ccc;
}

.divider:not(:empty)::before {
  margin-right: 0.75em;
}
.divider:not(:empty)::after {
  margin-left: 0.75em;
}

.divider span {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}
