/* =================================== */
/* ✅ Theme Variables                 */
/* =================================== */
:root {
  --primary-color: #214c6b;
  --secondary-color: #007BFF;
  --accent-color: #FFD700;
  --accent-hover: #f7c600;
  --dark-bg: rgba(30, 30, 30, 0.95);
  --modal-overlay: rgba(0, 0, 0, 0.65);
  --footer-bg: rgba(0, 0, 0, 0.05);
  --white: white;
  --light-grey: #f9f9f9;
  --mid-grey: #555;
  --light-text: #ddd;
  --black: #333;
  --facebook: #1877F2;
  --facebook-hover: #145ecf;
  --whatsapp: #25D366;
  --whatsapp-hover: #1ebd5b;
}

/* =================================== */
/* ✅ Base Reset & Body Layout         */
/* =================================== */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: #f2f2f2;
  padding-top: 70px;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* =================================== */
/* ✅ Sticky Header (Logo + Title + Toolbar) */
/* =================================== */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  gap: 15px;
  flex-wrap: nowrap;
}

.sticky-header .left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.sticky-header .left img {
  height: 60px;
  width: auto;
}

.sticky-header .left h2 {
  font-size: clamp(0.9rem, 2.4vw, 1.3rem);
  color: #214c6b;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.sticky-header .toolBar {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
  z-index: 1010;
  position: relative;
}

.language-btn {
  width: 80px;       /* ✅ 固定宽度 */
  height: 40px;       /* ✅ 固定高度 */
  background: white;
  color: #007BFF;
  border: 1px solid #007BFF;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 10px;
}

.language-btn i{
  margin-right: 10px;
}

.language-btn:hover {
  background: #007BFF;
  color: white;
}

.menu-toggle {
  font-size: 2em;
  cursor: pointer;
  color: #214c6b;
}

/* =================================== */
/* ✅ Slide-In Nav Bar                 */
/* =================================== */
.nav-bar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 250px;
  height: 100vh;
  background-color: rgba(30, 30, 30, 0.95);
  color: white;
  padding: 20px;
  transition: right 0.4s ease-in-out;
  backdrop-filter: blur(6px);
  z-index: 1020;
}

.nav-bar.active {
  right: 0;
}

.nav-bar ul {
  list-style: none;
  padding: 0;
  margin-top: 60px;
}

.nav-bar li {
  margin: 20px 0;
}

.nav-bar a {
  color: white;
  text-decoration: none;
  font-size: 1.2em;
}

.nav-bar button {
  background-color: #63a0cf;
  min-width: 80px;
  min-height: 30px;
  border-radius: 8px;
}

/* =================================== */
/* ✅ Hero Section (Landing Banner)    */
/* =================================== */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 40px 20px; /* ✅ 缩小高度 */
  text-align: center;
  color: white;
  background: 
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url('../img/heroBackground.jpeg') no-repeat center center / cover;
  backdrop-filter: blur(1px);
  box-shadow: inset 0 -10px 30px rgba(0, 0, 0, 0.2);
  max-height: 45vh;  /* ✅ 控制最大高度 */
  min-height: 280px; /* ✅ 保证手机上不要太扁 */
  overflow: hidden;
}

/* ✅ 圆形 Logo 容器 */
.logo-wrapper {
  width: 120px;   /* ⬅️ 稍微缩小一点更协调 */
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  animation: glowPulse 2.5s ease-in-out infinite;
}

/* ✅ Logo 图片 */
.logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* ✅ 标题 */
.hero-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

/* ✅ 副标题 */
.hero-subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  color: #ddd;
  margin: 10px 0 20px;
  line-height: 1.5;
}

/* ✅ CTA 按钮 */
.cta-btn {
  padding: 10px 24px;
  font-size: 0.95rem;
  font-weight: bold;
  border-radius: 30px;
  background: #FFD700;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
  background: #f7c600;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* ✨ Logo 发光动画 */
@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4),
                0 0 20px rgba(255, 255, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.8),
                0 0 40px rgba(255, 255, 255, 0.6);
  }
}

/* =================================== */
/* ✅ About Us Section                 */
/* =================================== */
#about {
  padding: 60px 0;
  background-color: #fff;
}

/* ✅ Container 包裹器 */
.about-container {
  padding: 0 50px;
  max-width: 1150px;
  margin: 0 auto;
}

/* ✅ Title 居中且更有层次 */
#about h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: #214c6b;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  letter-spacing: 0.5px;
}

/* ✅ 正文段落统一左对齐，提升对比 */
#about p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 16px;
  text-align: left;
}

/* ✅ 小标题左对齐 */
#about h4 {
  margin-top: 30px;
  font-size: 1.2rem;
  color: #222;
  font-weight: 600;
  text-align: left;
}

/* ✅ Bullet list 左对齐 + 清晰缩进 */
.about-bullet ul {
  padding-left: 20px;
  margin-top: 10px;
  margin-bottom: 20px;
  text-align: left;
}

.about-bullet li {
  margin-bottom: 8px;
  line-height: 1.6;
  list-style-type: disc;
  color: #444;
}

/* ✅ 动画进入平滑过渡建议（可选） */
[data-aos] {
  transition-property: opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: ease-in-out;
}

/* =============================== */
/* 🧲 Why Us Section Style         */
/* =============================== */
#why-us {
  padding: 60px 20px;
  text-align: center;
}

#why-us h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.why-us-item {
  background: var(--light-grey);
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-us-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.why-us-item i {
  font-size: 2.2rem;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.why-us-item h4 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.why-us-item p {
  font-size: 0.98rem;
  color: var(--mid-grey);
  line-height: 1.6;
}

/* =================================== */
/* ✅ Service Section                  */
/* =================================== */
section {
  padding: 50px 20px;
  background-color: var(--white);
}

#services h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 20px;
  color: #214c6b;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-left: 20px;
  margin-right: 20px;
}

.service-item {
  background: #f9f9f9;
  min-height: 200px;
  height: 300px;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  padding-bottom: 10px;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.click-note{
  display: block;
  font-size: 0.75em;
  color: #888;
  margin-top: 4px;
  position: absolute;
  align-items: center;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.service-item img {
  width: 120px;             /* or 100%, depending on container */
  height: 120px;
  border-radius: 50%;        /* makes it a perfect circle */
  object-fit: cover;         /* ensures the image fills the circle properly */
  display: block;
  margin: 0 auto 20px;       /* centers the logo inside modal and adds spacing */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* optional soft shadow */
}

/* =================================== */
/* ✅ FAQ Section                      */
/* =================================== */
#faq {
  padding: 60px 20px;
  background-color: #fff;
}

.faq-title {
  font-size: 2rem;
  text-align: center;
  color: #214c6b;
}

.faq-desc {
  text-align: center;
  color: #555;
  margin-bottom: 30px;
  font-size: 1rem;
}

.faq-container {
  max-width: 100%;
  padding: 0 50px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 15px 0;
}

.faq-question {
  width: 100%;
  flex-direction: row-reverse;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: bold;
  color: #214c6b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 10px 0;
}

.faq-icon {
  font-size: 1.3rem;
  width: 25px;
  text-align: center;
  transition: transform 0.3s;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  padding-top: 0;
}

.faq-answer.open {
  max-height: 500px; /* 足够容纳大部分内容 */
  opacity: 1;
  padding-top: 10px;
}

.faq-answer ul {
  padding-left: 20px;
  margin-top: 10px;
}

.faq-answer li {
  margin-bottom: 6px;
  line-height: 1.6;
  list-style-type: disc;
}

/* =============================== */
/* ✉️ Contact Us Section Style     */
/* =============================== */
#contact {
  padding: 60px 20px;
  background-color: var(--white);
  text-align: center;
}

#contact .section-title {
  margin-bottom: 40px;
}

#contact h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-info {
  flex: 1 1 300px;
  text-align: left;
}

.contact-info p {
  margin: 15px 0;
  font-size: 1.05rem;
  color: var(--mid-grey);
}

.contact-info i {
  color: var(--primary-color);
  margin-right: 10px;
}

.contact-form {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
  background-color: white;
  color: #333;
}

/* ✅ 电话号码输入框微调 */
.contact-form input[type="tel"] {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 0.5px;
}

/* ✅ 仅在验证失败 + 聚焦时才红框 */
.contact-form input:invalid:focus,
.contact-form textarea:invalid:focus,
.contact-form select:invalid:focus {
  border-color: #ff4d4f;
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
}

.contact-form input:focus:invalid,
.contact-form textarea:focus:invalid,
.contact-form select:focus:invalid {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
}

/* ✅ 提交按钮 */
.contact-form button {
  background-color: var(--primary-color, #003f6e);
  color: white;
  border: none;
  padding: 12px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: var(--secondary-color, #00509e);
}

/* =============================== */
/* 🔗 Social Icon Buttons (Circle) */
/* =============================== */
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  margin-right: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.icon-button img {
  width: 20px;
  height: 20px;
}

/* ✅ WhatsApp 按钮样式 */
.whatsapp-btn {
  background-color: #25D366;
}

/* ✅ Facebook 按钮样式 */
.facebook-btn {
  background-color: #1877f2;
}

/* Platform-specific Colors */
.instagram-btn {
  background-color: #C13584;
}

.instagram-btn:hover {
  background-color: #e959a3;
}

.xhs-btn {
  background-color: #ef2d36; /* 小红书代表色 */
}

.xhs-btn:hover {
  background-color: #ff4b57;
}

/* =================================== */
/* ✅ Main Content & Info Section      */
/* =================================== */
.main-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
}

.container {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

.logo {
  max-width: 250px;
  height: auto;
  margin-bottom: none;
}

h1 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
  color: #333;
}

p {
  font-size: 1.2em;
  margin-bottom: 1.5em;
  color: #555;
}

h3 {
  margin-bottom: 10px;
}

/* =================================== */
/* ✅ Button Group (WhatsApp / FB...)  */
/* =================================== */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.btn {
  padding: 12px 20px;
  min-width: 140px;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
  text-decoration: none;
  color: white;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

.btn i {
  font-size: 1.2em;
}

.btn-whatsapp {
  background-color: #25D366;
}
.btn-whatsapp:hover {
  background-color: #1ebd5b;
}

.btn-facebook {
  background-color: #1877F2;
}
.btn-facebook:hover {
  background-color: #145ecf;
}

.btn-email {
  background-color: #214c6b;
}
.btn-email:hover {
  background-color: #005a9e;
}

/* =================================== */
/* ✅ Footer Section                   */
/* =================================== */
footer {
  text-align: center;
  padding: 10px 0;
  background-color: rgba(0, 0, 0, 0.05);
  font-size: 0.85em;
  color: #777;
}

/* =============================== */
/* ✅ Advanced Preloader           */
/* =============================== */
#preloader {
  position: fixed;
  inset: 0;
  background: linear-gradient(120deg, #e6eefc, #fdfdfd, #eaf6ff);
  background-size: 400% 400%;
  animation: bgMove 8s ease infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  overflow: hidden;
  transition: transform 1.5s ease, opacity 0.6s ease;
}

.loader-bar {
  animation: loadGrow 4s ease-in-out infinite;
}

#preloader.hide {
  transform: translateY(-100%);
  opacity: 0;
}

.loader-wrapper {
  text-align: center;
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;      /* 先透明再淡入 */
}

/* Logo 心跳 + 微发光 */
.preloader-logo {
  width: 260px;
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.25));
  animation: heartbeat 1.4s ease-in-out infinite;
  margin-bottom: 32px;
}

/* 进度轨 */
.loader-track {
  width: 240px;
  height: 6px;
  background: rgba(0,0,0,0.12);
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto;
}

/* 进度条动画 */
.loader-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #63a0cf 0%, #ffd700 100%);
  animation: loadGrow 2.8s ease-in-out infinite;
}

/* ---------------- Animation Keyframes ---------------- */
@keyframes heartbeat {
  0%,100% { transform: scale(1); }
  30%     { transform: scale(1.08); }
  60%     { transform: scale(0.97); }
}

@keyframes loadGrow {
  0%   { width: 0; }
  60%  { width: 85%; }
  100% { width: 100%; }
}

@keyframes bgMove {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
  from { opacity: 0; transform: translateY(30px); }
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.65);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

/* Modal Box */
.modal-content {
  background: white;
  padding: 30px 25px;
  border-radius: 12px;
  max-width: 800px;
  height: 600px;
  width: 100%;
  text-align: left;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  animation: popUp 0.4s ease-out;
  overflow-y: auto; /*allow for scroll*/
}

@keyframes slideIn{
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-content img {
  width: 120px;              /* or 100%, depending on container */
  height: 120px;
  border-radius: 50%;        /* makes it a perfect circle */
  object-fit: cover;         /* ensures the image fills the circle properly */
  display: block;
  margin: 0 auto 20px;       /* centers the logo inside modal and adds spacing */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* optional soft shadow */
}

.close-modal {
  position: sticky;           /* ✅ 固定在父容器滚动顶部 */
  top: 0;                     /* 顶部吸附 */
  margin-left: auto;         /* 靠右对齐 */
  margin-right: 0;
  width: 36px;
  height: 36px;
  background-color: #ffffff;
  color: #333;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50%;
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  z-index: 2; /* 高于内容即可 */
}

.close-modal:hover {
  background-color: #f44336;
  color: white;
  transform: scale(1.1) rotate(90deg);
}

/* Animation */
@keyframes popUp {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-content-details {
  padding-top: 10px;
  padding-bottom: 10px;
  overflow-y: auto;
}

.btnInterest-Wrapper {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

#btnInterest {
  display: inline-flex; /* 用 flex 对齐图标和文字 */
  align-items: center;
  justify-content: center;
  gap: 8px;

  background: linear-gradient(to right, #28a745, #218838);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  margin-top: 20px;
  width: 100%;
  max-width: 300px;
}

#btnInterest i {
  font-size: 1.2em;
}

#btnInterest:hover {
  background: linear-gradient(to right, #218838, #1e7e34);
  transform: translateY(-2px);
}

#btnInterest:active {
  transform: scale(0.97);
}

/* 主标题（通常是 CIDB / Imigresen 服务） */
.modal-content-details h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
}

/* 子标题（每个服务项目小标题） */
.modal-content-details h4 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 20px;
  margin-bottom: 6px;
  color: #333;
  border-left: 4px solid #007bff;
  padding-left: 10px;
}

/* 项目列表 */
.modal-content-details ul {
  margin-left: 1.5rem;
  padding-left: 0;
  list-style-type: disc;
}

.modal-content-details li {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 5px;
}

/* 可选提示段落（例如 💡建议语句） */
.modal-content-details p {
  font-size: 0.9rem;
  color: #555;
  background-color: #f9f9f9;
  padding: 10px 15px;
  border-left: 4px solid #ffc107;
  margin-top: 25px;
  border-radius: 4px;
}

/* =============================== */
/* 🔝 Back To Top Button Style     */
/* =============================== */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--secondary-color); /* 🔵 默认蓝色 */
  color: white; /* ⚪ 箭头颜色 */
  border: none;
  border-radius: 50%;
  font-size: 1.2em;
  cursor: pointer;
  display: none;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  transition: background 0.3s ease;
}

#backToTop:hover {
  background-color: var(--primary-color); /* 🟦 Hover 主色 */
}

#backToTop i {
  transition: transform 0.6s ease;
}

#backToTop:hover i {
  transform: rotate(360deg); /* ↻ 箭头旋转 */
}

/* =================================== */
/* ✅ Responsive Design                */
/* =================================== */
@media (max-width: 600px) {
  .head-companyname {
    display: none !important;
  }

  h1 {
    font-size: 1.8em;
  }

  p {
    font-size: 1em;
  }

  .btn {
    width: 100%;
    font-size: 0.95em;
    padding: 10px 18px;
  }

  .container {
    padding: 0 10px;
  }

  .sticky-header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .sticky-header .toolBar {
    margin-left: auto;
  }

@media (max-width: 600px) {
  header {
    padding: 30px 16px;
    min-height: 240px;
    max-height: none;
  }

  .logo-wrapper {
    width: 90px;
    height: 90px;
    margin-bottom: 14px;
  }

  .logo {
    max-width: 80%;
    max-height: 80%;
  }

  .hero-title {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 6px 0 14px;
  }

  .cta-btn {
    font-size: 0.85rem;
    padding: 8px 20px;
  }
}

  /* ✅ 表单元素统一样式 */
  select,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    width: 100%;
    font-size: 1em;
    padding: 12px 15px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 10px;
  }

  /* ✅ select 元素针对手机优化 */
  select {
    appearance: none;
    background-color: #fff;
  }

  /* ✅ 对齐 label 和 input */
  .form-group {
    width: 100%;
    margin-bottom: 15px;
  }

  label {
    display: block;
    font-size: 0.95em;
    margin-bottom: 6px;
  }
}
