body {
    background: #faf9f6;
    font-family: "Noto Sans TC", "PingFang TC", Arial, sans-serif;
}

.banner {
  min-height: 350px;
  position: relative;
  padding: 0;
}
.banner-overlay {
  min-height: 350px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.banner-card {
  background: #69be43e6;
  color: #fff;
  border-radius: 80px;
  max-width: 520px;
  width: 95%;
  padding: 42px 20px 32px 20px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.10);
  text-align: center;
  margin: auto;
  position: relative;
}
.banner-card h1 { font-weight: bold; font-size: 2.1rem;}
.banner-card .logo-small { margin-top: 24px; background: #fff; border-radius: 8px; padding: 6px 18px; color: #183354; display: inline-block; font-weight: bold;}
@media (max-width: 992px) {
  .banner, .banner-overlay { min-height: 200px; }
  .banner-card { font-size: 0.97rem; padding: 30px 2vw;}
}


.main-title {
    color: #0a5d92;
    font-weight: bold;
    font-size: 2.3rem;
    margin: 44px 0 20px 0;
    text-align: center;
}
/* 右下聯絡按鈕群 */
.floating-btns {
    position: fixed;
    right: 32px;
    top: 45%;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.floating-btns a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #eee;
    color: #fff;
    font-size: 24px;
    transition: box-shadow 0.2s;
}
.floating-btns a.btn-blue {
    background: #2378ba;
}
.floating-btns a.btn-green {
    background: #28bfa1;
}
.floating-btns a.btn-orange {
    background: #fd8c35;
}
.floating-btns a.btn-red {
    background: #ea4825;
}
.floating-btns a:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}
@media (max-width: 992px) {
    .banner-card {
        font-size: 0.98rem;
        padding: 30px 4vw;
    }
    .main-title {
        font-size: 1.3rem;
    }
    .banner {
        min-height: 220px;
    }
    .banner-overlay {
        min-height: 220px;
    }
}




.footer-main {
  background: #0a5d92;
  color: #fff;
  font-size: 1.06rem;
}
.footer-main .footer-link {
  color: #fff;
  text-decoration: none;
  transition: color 0.16s;
}
.footer-main .footer-link:hover {
  color: #69be43;
  text-decoration: underline;
}
.footer-main .fw-bold { font-weight: bold; letter-spacing: 1px; }
.footer-main .small { font-size: 0.98em; color: #dbe9fc; }

/* 浮動聯絡按鈕群 */
.footer-floating-btns {
  position: fixed;
  top: 38%;
  right: 18px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-btn {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: box-shadow 0.15s, background 0.15s;
}
.btn-linkedin { background: #0077b5; }
.btn-whatsapp { background: #25d366; }
.btn-email    { background: #fd8c35; }
.btn-phone    { background: #ea4825; }
.footer-btn:hover { box-shadow: 0 6px 16px rgba(0,0,0,0.18); opacity: 0.92; }

@media (max-width: 991px) {
  .footer-main { font-size: 0.99rem; }
  .footer-floating-btns { top: 75%; right: 6px; }
  .footer-btn { width: 40px; height: 40px; font-size: 1.2rem;}
}




/* 取消預設下拉menu內間距 */
.custom-wide-dropdown .dropdown-item {
  color: #232323;
  font-size: 1.18rem;
  font-weight: 400;
  padding: 14px 46px;
  background: transparent;
  transition: background 0.16s, color 0.16s;
  border-radius: 0;
  text-align: left;
}

/* 滑過時背景微灰色 */
.custom-wide-dropdown .dropdown-item:hover,
.custom-wide-dropdown .dropdown-item:focus {
  background: #f5f6fa;
  color: #15639b;
}

/* 影片區域 yt iframe不能客製化控制其自動產生的vedio css區段，因此一定要以下這樣做*/
 .video-wrapper {
    width: 100vw; /* 或用 100%，如需跟 container 寬一致就 container 裡 */
    height: 480px; /* 你想要的固定高度 */
    position: relative;
    overflow: hidden;
    background: #000;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.video-wrapper iframe {
    opacity: 1;
    visibility: inherit;
    width: 100%;
    height: 152.724%;
    position: absolute;
    left: 0px;
    top: -26.362%;
    display: block;
    transition: none;
    text-align: inherit;
    line-height: 0px;
    border-width: 2px;
    margin: 0px;
    padding: 0px;
    letter-spacing: 0px;
    font-weight: 500;
    font-size: 13px;
}
