@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&family=Noto+Serif+TC:wght@200..900&display=swap");
/* =========================================================
   1. Variables
   ========================================================= */
/* =========================================================
   2. Body / Global
   ========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: #0e2a3d;
  background: #f4f9fc;
  line-height: 1.75;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

section {
  padding: 8rem 0;
  position: relative;
}
@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
}

/* H2 共用 section-head */
.section-head {
  position: relative;
  margin-bottom: 4rem;
  padding-left: 1.5rem;
  border-left: 4px solid #2b8fc7;
}
.section-head__watermark {
  position: absolute;
  top: -2.5rem;
  left: 1.5rem;
  font-family: "Noto Serif TC", serif;
  font-size: 7rem;
  font-weight: 900;
  color: rgba(43, 143, 199, 0.07);
  line-height: 1;
  letter-spacing: 0.05em;
  pointer-events: none;
}
@media (max-width: 768px) {
  .section-head__watermark {
    font-size: 4rem;
    top: -1.5rem;
  }
}
.section-head__title {
  position: relative;
  font-size: 2.6rem;
  font-weight: 900;
  color: #0e2a3d;
  margin: 0;
  letter-spacing: 0.02em;
}
@media (max-width: 768px) {
  .section-head__title {
    font-size: 1.9rem;
  }
}
.section-head__title em {
  display: block;
  font-style: normal;
  font-family: "Noto Serif TC", serif;
  font-size: 1rem;
  font-weight: 500;
  color: #2b8fc7;
  letter-spacing: 0.3em;
  margin-top: 0.5rem;
  text-transform: uppercase;
}
.section-head__line {
  display: block;
  width: 60px;
  height: 3px;
  margin-top: 1.5rem;
  background: linear-gradient(90deg, #2b8fc7, #5fb8e6);
  border-radius: 99px;
}
.section-head__line--center {
  margin-left: auto;
  margin-right: auto;
}
.section-head--center {
  text-align: center;
  padding-left: 0;
  border-left: 0;
}
.section-head--center .section-head__watermark {
  left: 50%;
  transform: translateX(-50%);
}

/* =========================================================
   3. Navbar
   ========================================================= */
#mainNav {
  padding: 1rem 0;
  background: transparent;
  transition: all 0.35s ease;
}
#mainNav.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 4px 12px rgba(14, 42, 61, 0.06);
  padding: 0.5rem 0;
}
#mainNav .navbar-brand {
  gap: 0.85rem;
}
#mainNav .navbar-brand .brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  box-shadow: 0 4px 14px rgba(43, 143, 199, 0.25);
}
@media (max-width: 576px) {
  #mainNav .navbar-brand .brand-logo {
    width: 40px;
    height: 40px;
  }
}
#mainNav .navbar-brand .brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
#mainNav .navbar-brand .brand-name__main {
  font-family: "Noto Serif TC", serif;
  font-size: 1.35rem;
  font-weight: 900;
  background: linear-gradient(120deg, #0e2a3d 0%, #2b8fc7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.05em;
}
@media (max-width: 576px) {
  #mainNav .navbar-brand .brand-name__main {
    font-size: 1.1rem;
  }
}
#mainNav .navbar-brand .brand-name__sub {
  font-size: 0.65rem;
  font-weight: 600;
  color: #2b8fc7;
  letter-spacing: 0.35em;
  margin-top: 2px;
}
@media (max-width: 576px) {
  #mainNav .navbar-brand .brand-name__sub {
    font-size: 0.55rem;
  }
}
#mainNav .navbar-toggler {
  border: 1px solid #2b8fc7;
  padding: 0.35rem 0.55rem;
}
#mainNav .navbar-toggler:focus {
  box-shadow: none;
}
#mainNav .nav-link {
  color: #0e2a3d;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: color 0.3s ease;
}
#mainNav .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.25rem;
  width: 0;
  height: 2px;
  background: #2b8fc7;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}
@media (max-width: 576px) {
  #mainNav .nav-link::after {
    display: none;
  }
}
#mainNav .nav-link:hover, #mainNav .nav-link.active {
  color: #2b8fc7;
}
#mainNav .nav-link:hover::after, #mainNav .nav-link.active::after {
  width: 22px;
}
@media (max-width: 991px) {
  #mainNav .nav-link {
    padding: 0.75rem 0 !important;
    border-bottom: 1px dashed #e3edf5;
  }
}
@media (max-width: 991px) {
  #mainNav {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
  }
  #mainNav .navbar-collapse {
    padding: 1rem 0;
  }
}

/* =========================================================
   4. Floating actions
   ========================================================= */
.floating-actions {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.floating-actions__btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(14, 42, 61, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.floating-actions__btn i {
  font-size: 2rem;
  line-height: 1;
}
.floating-actions__btn span {
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  margin-top: 2px;
  font-weight: 700;
}
.floating-actions__btn svg {
  width: 60px;
  height: 60px;
}
.floating-actions__btn--phone {
  background: linear-gradient(135deg, #2b8fc7, #0e2a3d);
}
.floating-actions__btn--phone:hover {
  transform: translateY(-4px) scale(1.05);
  color: #ffffff;
}
.floating-actions__btn--line span {
  display: none;
}
.floating-actions__btn--line:hover {
  transform: translateY(-4px) scale(1.05);
}
@media (max-width: 576px) {
  .floating-actions__btn {
    width: 52px;
    height: 52px;
  }
  .floating-actions__btn svg {
    width: 52px;
    height: 52px;
  }
  .floating-actions__btn i {
    font-size: 1.5rem;
  }
}

/* =========================================================
   5. Footer
   ========================================================= */
#footer {
  background: linear-gradient(180deg, #0e2a3d 0%, rgb(10.192, 30.576, 44.408) 100%);
  color: rgba(255, 255, 255, 0.85);
  position: relative;
}
#footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #2b8fc7 0%, #5fb8e6 50%, #2b8fc7 100%);
}
#footer .footer__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
#footer .footer__brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
}
#footer .footer__brand span {
  display: flex;
  flex-direction: column;
}
#footer .footer__brand span strong {
  font-size: 1.25rem;
  font-family: "Noto Serif TC", serif;
  color: #ffffff;
}
#footer .footer__brand span small {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: #5fb8e6;
}
#footer .footer__desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.85;
}
#footer .footer__title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
#footer .footer__list {
  list-style: none;
  padding: 0;
}
#footer .footer__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}
#footer .footer__list li i {
  color: #5fb8e6;
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 2px;
}
#footer .footer__list li a:hover {
  color: #5fb8e6;
}
#footer .footer__social {
  display: flex;
  gap: 0.75rem;
}
#footer .footer__social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
#footer .footer__social a i {
  color: #ffffff;
  font-size: 1.3rem;
}
#footer .footer__social a svg {
  width: 26px;
  height: 26px;
}
#footer .footer__social a:hover {
  background: #2b8fc7;
  transform: translateY(-3px);
}
#footer .footer__bottom {
  padding: 0.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
}
#footer .footer__bottom .designed-by {
  margin-left: 1rem;
  color: #5fb8e6;
}
#footer .footer__bottom .designed-by:hover {
  color: #ffffff;
}
@media (max-width: 576px) {
  #footer .footer__bottom .designed-by {
    display: block;
    margin: 0.5rem 0 0;
  }
}

/* =========================================================
   6. Hero
   ========================================================= */
#hero {
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #cfe9f7 0%, #f4f9fc 100%);
}
#hero .hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(95, 184, 230, 0.35), transparent 50%), radial-gradient(circle at 10% 90%, rgba(43, 143, 199, 0.25), transparent 50%);
  z-index: 0;
}
#hero .hero__overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(43, 143, 199, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(43, 143, 199, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
          mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  z-index: 0;
}
#hero .hero__container {
  position: relative;
  z-index: 2;
  padding-top: 8rem;
  padding-bottom: 6rem;
}
@media (max-width: 768px) {
  #hero .hero__container {
    padding-top: 6rem;
    padding-bottom: 4rem;
  }
}
#hero .hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(43, 143, 199, 0.25);
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2b8fc7;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
#hero .hero__tag i {
  font-size: 1.1rem;
}
#hero .hero__title {
  font-family: "Noto Serif TC", serif;
  font-size: 5rem;
  font-weight: 900;
  line-height: 1.1;
  color: #0e2a3d;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}
@media (max-width: 1199px) {
  #hero .hero__title {
    font-size: 4rem;
  }
}
@media (max-width: 768px) {
  #hero .hero__title {
    font-size: 2.8rem;
  }
}
#hero .hero__title span {
  background: linear-gradient(120deg, #2b8fc7 0%, #5fb8e6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
#hero .hero__subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: #0e2a3d;
  margin-bottom: 0.75rem;
}
@media (max-width: 768px) {
  #hero .hero__subtitle {
    font-size: 1rem;
  }
}
#hero .hero__desc {
  font-size: 1rem;
  color: #6b8195;
  margin-bottom: 2.5rem;
  line-height: 1.85;
}
#hero .hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
#hero .hero__cta .btn {
  padding: 0.9rem 1.75rem;
  border-radius: 99px;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}
#hero .hero__cta .btn i {
  font-size: 1.15rem;
}
#hero .hero__cta .btn-primary {
  background: linear-gradient(120deg, #2b8fc7, #0e2a3d);
  border: 0;
  box-shadow: 0 12px 28px rgba(43, 143, 199, 0.35);
}
#hero .hero__cta .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(43, 143, 199, 0.45);
}
#hero .hero__cta .btn-outline {
  background: rgba(255, 255, 255, 0.8);
  border: 1.5px solid #2b8fc7;
  color: #2b8fc7;
}
#hero .hero__cta .btn-outline:hover {
  background: #2b8fc7;
  color: #ffffff;
  transform: translateY(-3px);
}
#hero .hero__card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(14, 42, 61, 0.16);
  transform: rotate(-1.5deg);
  transition: transform 0.5s ease;
}
#hero .hero__card:hover {
  transform: rotate(0deg) translateY(-6px);
}
#hero .hero__card-img {
  aspect-ratio: 4/5;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #cfe9f7;
}
#hero .hero__card-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
#hero .hero__card-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #e3edf5;
}
#hero .hero__card-stat {
  padding: 1.25rem;
  background: #ffffff;
  text-align: center;
}
#hero .hero__card-stat strong {
  display: block;
  font-family: "Noto Serif TC", serif;
  font-size: 1.85rem;
  font-weight: 900;
  color: #2b8fc7;
  line-height: 1.1;
}
#hero .hero__card-stat span {
  font-size: 0.8rem;
  color: #6b8195;
}
#hero .hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: #2b8fc7;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}
@media (max-width: 768px) {
  #hero .hero__scroll {
    display: none;
  }
}
#hero .hero__scroll span {
  width: 1px;
  height: 40px;
  background: #2b8fc7;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% {
    transform: scaleY(1);
    transform-origin: top;
  }
  50% {
    transform: scaleY(0.3);
    transform-origin: top;
  }
}
/* =========================================================
   7. About
   ========================================================= */
#about {
  background: #ffffff;
  position: relative;
}
#about::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: #f4f9fc;
  z-index: 0;
}
@media (max-width: 991px) {
  #about::before {
    display: none;
  }
}
#about .container {
  position: relative;
  z-index: 1;
}
#about .about__gallery {
  position: relative;
}
#about .about__gallery .swiper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(14, 42, 61, 0.1);
  aspect-ratio: 4/5;
}
#about .about__gallery .swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
#about .about__gallery .swiper .swiper-pagination-bullet {
  background: #ffffff;
  opacity: 0.6;
}
#about .about__gallery .swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: #2b8fc7;
  width: 24px;
  border-radius: 99px;
}
#about .about__badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: #ffffff;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem; /* 桌機版：拉開左右兩側的距離 */
  box-shadow: 0 24px 60px rgba(14, 42, 61, 0.16);
  border: 1px solid rgba(43, 143, 199, 0.2);
  z-index: 100;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  /* 呼吸燈動畫吸引目光 */
  animation: badgePulse 2.5s infinite;
  /* 平板版微調 */
}
@media (max-width: 768px) {
  #about .about__badge {
    right: 1rem;
    bottom: -1rem;
    padding: 0.75rem 1rem;
    gap: 1rem;
  }
}
#about .about__badge {
  /* 手機版極致優化 */
}
@media (max-width: 576px) {
  #about .about__badge {
    right: 0.5rem;
    bottom: -1rem;
    padding: 0.6rem 0.75rem; /* 縮小整體內距 */
    gap: 0.5rem; /* 縮小左右大區塊的間距 */
    width: calc(100% - 1rem); /* 避免超出螢幕邊界 */
    max-width: 340px; /* 限制最大寬度，避免拉太長 */
    justify-content: space-between; /* 讓內容左右均勻排開 */
  }
}
#about .about__badge {
  /* 懸停效果 */
}
#about .about__badge:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(43, 143, 199, 0.15);
  border-color: #2b8fc7;
  animation: none; /* hover 時停止呼吸燈 */
}
#about .about__badge:hover .about__badge-action {
  background: #0e2a3d; /* hover 時右側小按鈕變深色 */
}
#about .about__badge {
  /* 左側區塊：覆蓋 HTML 中的 bootstrap gap-3 */
}
@media (max-width: 576px) {
  #about .about__badge > div {
    gap: 0.5rem !important; /* 強制縮小圖示與文字的間距 */
  }
}
#about .about__badge {
  /* 左側獎牌圖示 */
}
#about .about__badge > div > i {
  font-size: 2.2rem;
  color: #ffb84d;
}
@media (max-width: 576px) {
  #about .about__badge > div > i {
    font-size: 1.8rem; /* 手機版縮小獎牌 */
  }
}
#about .about__badge {
  /* 左側文字區 */
}
#about .about__badge .about__badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
#about .about__badge .about__badge-text strong {
  font-size: 1.05rem;
  color: #0e2a3d;
  font-weight: 900;
}
@media (max-width: 576px) {
  #about .about__badge .about__badge-text strong {
    font-size: 0.9rem; /* 手機版縮小標題 */
  }
}
#about .about__badge .about__badge-text span {
  font-size: 0.8rem;
  color: #6b8195;
}
@media (max-width: 576px) {
  #about .about__badge .about__badge-text span {
    font-size: 0.7rem;
    white-space: nowrap; /* 絕對不折行，保持整齊 */
  }
}
#about .about__badge {
  /* 右側明顯的點擊按鈕區 */
}
#about .about__badge .about__badge-action {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: #2b8fc7;
  color: #ffffff;
  padding: 0.4rem 0.85rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: nowrap; /* 確保按鈕文字不折行 */
}
#about .about__badge .about__badge-action i {
  font-size: 1rem;
  color: #ffffff;
}
#about .about__badge .about__badge-action {
  /* 手機版按鈕微調 */
}
@media (max-width: 576px) {
  #about .about__badge .about__badge-action {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }
  #about .about__badge .about__badge-action i {
    font-size: 0.9rem;
  }
}
#about .about__badge .about__badge-action {
  /* 極小螢幕 (如 iPhone SE) 終極防護 */
}
@media (max-width: 360px) {
  #about .about__badge .about__badge-action {
    padding: 0.4rem; /* 變成圓形按鈕的感覺 */
  }
  #about .about__badge .about__badge-action span {
    display: none; /* 空間真的不夠時，隱藏「點擊查看」，只留放大鏡 icon */
  }
}
#about {
  /* 定義呼吸燈外擴動畫 */
}
@keyframes badgePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(43, 143, 199, 0.4);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(43, 143, 199, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(43, 143, 199, 0);
  }
}
#about .about__lead {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0e2a3d;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
@media (max-width: 768px) {
  #about .about__lead {
    font-size: 1.1rem;
  }
}
#about .about__text {
  color: #6b8195;
  margin-bottom: 1rem;
  font-size: 0.98rem;
}
#about .about__features {
  margin-top: 2rem;
}
#about .about__feature {
  background: #f4f9fc;
  padding: 1.25rem 1rem;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #e3edf5;
  transition: all 0.3s ease;
  text-align: center;
}
#about .about__feature i {
  font-size: 2rem;
  color: #2b8fc7;
}
#about .about__feature span {
  font-weight: 700;
  font-size: 0.9rem;
  color: #0e2a3d;
}
#about .about__feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(14, 42, 61, 0.1);
  background: #ffffff;
}
#about .about__feature:hover i {
  color: #ffb84d;
}

/* =========================================================
   8. Services
   ========================================================= */
#services {
  background: #f4f9fc;
}
#services .service-card {
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(14, 42, 61, 0.06);
  border: 1px solid #e3edf5;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}
#services .service-card__img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #cfe9f7;
}
#services .service-card__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.6s ease;
}
#services .service-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  background: #2b8fc7;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 99px;
}
#services .service-card__body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
@media (max-width: 768px) {
  #services .service-card__body {
    padding: 1.5rem;
  }
}
#services .service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #cfe9f7, rgba(95, 184, 230, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
#services .service-card__icon i {
  font-size: 1.85rem;
  color: #2b8fc7;
}
#services .service-card h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: #0e2a3d;
  margin-bottom: 0.35rem;
}
#services .service-card__sub {
  font-size: 0.9rem;
  color: #2b8fc7;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}
#services .service-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}
#services .service-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  color: #6b8195;
  font-size: 0.95rem;
}
#services .service-card__list li i {
  color: #2b8fc7;
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 2px;
}
#services .service-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #2b8fc7;
  font-weight: 700;
  align-self: flex-start;
}
#services .service-card__more i {
  transition: transform 0.3s ease;
}
#services .service-card__more:hover {
  color: #0e2a3d;
}
#services .service-card__more:hover i {
  transform: translateX(4px);
}
#services .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(14, 42, 61, 0.16);
}
#services .service-card:hover .service-card__img img {
  transform: scale(1.08);
}
#services .service-card--alt .service-card__icon {
  background: linear-gradient(135deg, rgba(255, 184, 77, 0.2), rgba(255, 184, 77, 0.35));
}
#services .service-card--alt .service-card__icon i {
  color: #ffb84d;
}
#services .service-card--alt .service-card__badge {
  background: #ffb84d;
}

/* =========================================================
   9. Process
   ========================================================= */
#process {
  background: #ffffff;
}
#process .process__tabs {
  margin: 2rem 0 4rem;
  gap: 1rem;
  flex-wrap: wrap;
}
#process .process__tabs .nav-link {
  padding: 0.85rem 1.75rem;
  border-radius: 99px;
  font-weight: 700;
  color: #6b8195;
  background: #f4f9fc;
  border: 1.5px solid #e3edf5;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}
#process .process__tabs .nav-link i {
  font-size: 1.2rem;
}
#process .process__tabs .nav-link.active {
  background: linear-gradient(120deg, #2b8fc7, #0e2a3d);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(43, 143, 199, 0.3);
}
#process .process__tabs .nav-link:hover:not(.active) {
  color: #2b8fc7;
  border-color: #2b8fc7;
}
@media (max-width: 576px) {
  #process .process__tabs .nav-link {
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
  }
}
#process .timeline {
  position: relative;
  padding: 2rem 0;
}
#process .timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, transparent, #2b8fc7 10%, #2b8fc7 90%, transparent);
  opacity: 0.3;
}
@media (max-width: 991px) {
  #process .timeline::before {
    left: 20px;
  }
}
#process .timeline__item {
  position: relative;
  margin-bottom: 4rem;
}
#process .timeline__item:last-child {
  margin-bottom: 0;
}
@media (max-width: 991px) {
  #process .timeline__item {
    padding-left: 50px;
    margin-bottom: 3rem;
  }
}
#process .timeline__item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2b8fc7;
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 2px #2b8fc7;
  transform: translate(-50%, -50%);
  z-index: 2;
}
@media (max-width: 991px) {
  #process .timeline__item::before {
    left: 20px;
    top: 30px;
  }
}
#process .timeline__item--reverse .timeline__img-wrap {
  order: 2;
}
@media (max-width: 991px) {
  #process .timeline__item--reverse .timeline__img-wrap {
    order: unset;
  }
}
#process .timeline__item--reverse .timeline__text-wrap {
  order: 1;
  text-align: right;
}
@media (max-width: 991px) {
  #process .timeline__item--reverse .timeline__text-wrap {
    order: unset;
    text-align: left;
  }
}
@media (max-width: 991px) {
  #process .timeline__img-wrap {
    order: -1;
  }
}
#process .timeline__img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}
#process .timeline__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  transition: transform 0.6s ease;
}
@media (max-width: 991px) {
  #process .timeline__img {
    max-width: 300px;
  }
}
#process .timeline__text-wrap {
  padding: 1.5rem;
}
@media (max-width: 991px) {
  #process .timeline__text-wrap {
    padding: 1rem 0;
  }
}
#process .timeline__step {
  display: inline-block;
  font-family: "Noto Serif TC", serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #2b8fc7;
  letter-spacing: 0.25em;
  padding: 0.35rem 0.85rem;
  background: #cfe9f7;
  border-radius: 99px;
  margin-bottom: 1rem;
}
#process .timeline__title {
  font-size: 1.6rem;
  font-weight: 900;
  color: #0e2a3d;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  #process .timeline__title {
    font-size: 1.3rem;
  }
}
#process .timeline p {
  color: #6b8195;
  font-size: 0.95rem;
  line-height: 1.85;
  margin: 0;
}
#process .process__advantages {
  margin-top: 6rem;
  padding: 3rem;
  background: linear-gradient(135deg, #cfe9f7 0%, rgb(224.4857142857, 241.0142857143, 249.9142857143) 100%);
  border-radius: 28px;
}
@media (max-width: 768px) {
  #process .process__advantages {
    padding: 2rem 1.5rem;
    margin-top: 3rem;
  }
}
#process .process__adv-title {
  text-align: center;
  font-size: 1.85rem;
  font-weight: 900;
  color: #0e2a3d;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  #process .process__adv-title {
    font-size: 1.4rem;
  }
}
#process .adv-card {
  background: #ffffff;
  padding: 1.75rem 1.25rem;
  border-radius: 16px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(43, 143, 199, 0.12);
}
#process .adv-card__num {
  font-family: "Noto Serif TC", serif;
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(120deg, #2b8fc7, #5fb8e6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 0.85rem;
}
#process .adv-card h5 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0e2a3d;
  margin-bottom: 0.65rem;
}
#process .adv-card p {
  font-size: 0.85rem;
  color: #6b8195;
  line-height: 1.75;
  margin: 0;
}
#process .adv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(14, 42, 61, 0.1);
}

/* =========================================================
   10. Cases
   ========================================================= */
#cases {
  background: #f4f9fc;
}
#cases .case-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(14, 42, 61, 0.06);
  border: 1px solid #e3edf5;
  height: 100%;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}
#cases .case-card__img {
  position: relative;
  /* 改為 1080x1920 的比例 (9/16) */
  aspect-ratio: 9/16;
  overflow: hidden;
  /* 建議背景改為深色，若影片有留黑邊時視覺上較為協調 */
  background: #000;
}
#cases .case-card__img video {
  width: 100%;
  height: 100%;
  /* 改為 contain 保證不裁切影片 */
  -o-object-fit: contain;
     object-fit: contain;
  transition: transform 0.6s ease;
}
#cases .case-card__area {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.75rem;
  background: rgba(14, 42, 61, 0.85);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 99px;
  backdrop-filter: blur(8px);
  /* 確保標籤在影片上層 */
  z-index: 2;
}
#cases .case-card__body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
#cases .case-card__body h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0e2a3d;
  margin-bottom: 0.65rem;
  line-height: 1.5;
}
#cases .case-card__body p {
  color: #6b8195;
  font-size: 0.9rem;
  flex: 1;
  margin-bottom: 1.25rem;
}
#cases .case-card__btn {
  align-self: flex-start;
  background: transparent;
  border: 0;
  color: #2b8fc7;
  font-weight: 700;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
#cases .case-card__btn i {
  transition: transform 0.3s ease;
}
#cases .case-card__btn:hover {
  color: #0e2a3d;
}
#cases .case-card__btn:hover i {
  transform: translateX(4px);
}
#cases .case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(14, 42, 61, 0.1);
  /* 將原本的 img 改為 video */
}
#cases .case-card:hover .case-card__img video {
  /* 因為用了 contain，稍微縮小放大比例讓視覺更自然 */
  transform: scale(1.03);
}

/* --- 服務紀錄 (Records) 區塊樣式 --- */
.recordsSwiper {
  padding-bottom: 50px; /* 預留空間給下方的 Pagination */
}

.record-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  background-color: #f8f9fa; /* 圖片載入前的底色 */
}

/* 確保圖片長寬比一致，畫面才不會忽高忽低 */
.record-img-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.record-img-wrap:hover img {
  transform: scale(1.08);
}

/* 覆蓋層與放大鏡 Icon */
.record-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #ffffff;
  font-size: 2.5rem;
}

.record-img-wrap:hover .record-img-overlay {
  opacity: 1;
}

/* =========================================================
   11. Blog
   ========================================================= */
#blog {
  background: #ffffff;
}
#blog .blog-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(14, 42, 61, 0.06);
  border: 1px solid #e3edf5;
  height: 100%;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}
#blog .blog-card__num {
  width: 44px;
  height: 44px;
  background: #2b8fc7;
  color: #ffffff;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Serif TC", serif;
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(43, 143, 199, 0.35);
  margin-bottom: 1.25rem; /* 與下方標題保持間距 */
}
#blog .blog-card__body {
  padding: 2rem 1.5rem 1.5rem; /* 稍微加大內邊距，提升閱讀舒適度 */
  flex: 1;
  display: flex;
  flex-direction: column;
}
#blog .blog-card__body h5 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0e2a3d;
  margin-bottom: 0.85rem;
  line-height: 1.55;
  min-height: 3.1em;
}
#blog .blog-card__body p {
  font-size: 0.85rem;
  color: #6b8195;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#blog .blog-card__btn {
  align-self: flex-start;
  background: transparent;
  border: 0;
  color: #2b8fc7;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
#blog .blog-card__btn i {
  transition: transform 0.3s ease;
}
#blog .blog-card__btn:hover {
  color: #0e2a3d;
}
#blog .blog-card__btn:hover i {
  transform: translateX(4px);
}
#blog .blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(14, 42, 61, 0.1);
  border-color: rgba(43, 143, 199, 0.3); /* 增加一點邊框顏色的互動提示 */
}

/* =========================================================
   12. Modals (cases / blog 共用)
   ========================================================= */
.content-modal .modal-content {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(14, 42, 61, 0.16);
}
.content-modal .modal-header {
  background: linear-gradient(120deg, #2b8fc7, #0e2a3d);
  color: #ffffff;
  border: 0;
  padding: 1.5rem 1.75rem;
}
.content-modal .modal-header .modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
  flex: 1;
}
.content-modal .modal-header .btn-close {
  filter: invert(1) brightness(2);
  opacity: 0.85;
}
.content-modal .modal-body {
  padding: 2rem 1.75rem;
  color: #0e2a3d;
  line-height: 1.85;
}
@media (max-width: 576px) {
  .content-modal .modal-body {
    padding: 1.5rem 1.25rem;
  }
}
.content-modal .modal-body .modal-sub {
  font-size: 1rem;
  color: #2b8fc7;
  font-weight: 700;
  padding-left: 1rem;
  border-left: 3px solid #2b8fc7;
  margin-bottom: 1.25rem;
}
.content-modal .modal-body h5 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0e2a3d;
  margin: 1.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed #e3edf5;
}
.content-modal .modal-body h6 {
  font-size: 1rem;
  font-weight: 700;
  color: #2b8fc7;
  margin: 1.25rem 0 0.5rem;
}
.content-modal .modal-body p {
  margin-bottom: 1rem;
  color: #6b8195;
}
.content-modal .modal-body ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
.content-modal .modal-body ul li {
  color: #6b8195;
  margin-bottom: 0.35rem;
}
.content-modal .modal-body a {
  color: #2b8fc7;
  font-weight: 700;
  text-decoration: underline;
}
.content-modal .modal-body strong {
  color: #0e2a3d;
}

/* =========================================================
   13. FAQ
   ========================================================= */
#faq {
  background: #f4f9fc;
}
#faq .faq-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #ffffff;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(14, 42, 61, 0.06);
  border: 1px solid #e3edf5;
  top: 100px;
}
@media (max-width: 991px) {
  #faq .faq-nav {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0.75rem;
  }
}
#faq .faq-nav__btn {
  background: transparent;
  border: 0;
  text-align: left;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  color: #6b8195;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: all 0.3s ease;
}
#faq .faq-nav__btn span {
  font-family: "Noto Serif TC", serif;
  font-weight: 900;
  color: #2b8fc7;
  font-size: 0.95rem;
}
#faq .faq-nav__btn:hover {
  background: #f4f9fc;
  color: #0e2a3d;
}
#faq .faq-nav__btn.active {
  background: linear-gradient(120deg, #2b8fc7, #0e2a3d);
  color: #ffffff;
}
#faq .faq-nav__btn.active span {
  color: rgba(255, 255, 255, 0.85);
}
@media (max-width: 991px) {
  #faq .faq-nav__btn {
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
  }
}
#faq .faq-cat__title {
  font-size: 1.4rem;
  font-weight: 900;
  color: #0e2a3d;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid #2b8fc7;
}
#faq .faq-acc .accordion-item {
  background: #ffffff;
  border: 1px solid #e3edf5;
  border-radius: 16px !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(14, 42, 61, 0.06);
}
#faq .faq-acc .accordion-header {
  margin: 0;
}
#faq .faq-acc .accordion-button {
  background: #ffffff;
  color: #0e2a3d;
  font-weight: 700;
  padding: 1.1rem 1.25rem;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
#faq .faq-acc .accordion-button:not(.collapsed) {
  background: #cfe9f7;
  color: #2b8fc7;
  box-shadow: none;
}
#faq .faq-acc .accordion-button:not(.collapsed) .q {
  background: #2b8fc7;
  color: #ffffff;
}
#faq .faq-acc .accordion-button:focus {
  box-shadow: none;
  border-color: #2b8fc7;
}
#faq .faq-acc .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%232b8fc7' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
#faq .faq-acc .accordion-button .q {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #cfe9f7;
  color: #2b8fc7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Serif TC", serif;
  font-weight: 900;
  font-size: 1rem;
  transition: all 0.3s ease;
}
#faq .faq-acc .accordion-body {
  background: #ffffff;
  color: #6b8195;
  padding: 1.25rem 1.25rem 1.5rem;
  line-height: 1.85;
}
#faq .faq-acc .accordion-body strong {
  color: #2b8fc7;
  font-weight: 800;
}
#faq .faq-acc .accordion-body a {
  color: #2b8fc7;
  text-decoration: underline;
}

/* =========================================================
   14. Contact
   ========================================================= */
#contact {
  background: #ffffff;
}
#contact .contact-info {
  background: linear-gradient(135deg, #2b8fc7 0%, #0e2a3d 100%);
  border-radius: 28px;
  padding: 2.5rem;
  color: #ffffff;
  height: 100%;
  box-shadow: 0 12px 32px rgba(14, 42, 61, 0.1);
}
@media (max-width: 768px) {
  #contact .contact-info {
    padding: 1.75rem;
  }
}
#contact .contact-info__title {
  font-size: 1.85rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  font-family: "Noto Serif TC", serif;
}
#contact .contact-info__lead {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
#contact .contact-info__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
#contact .contact-info__list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
}
#contact .contact-info__list li:last-child {
  border-bottom: 0;
}
#contact .contact-info__list li > i,
#contact .contact-info__list li .line-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#contact .contact-info__list li > i {
  font-size: 1.4rem;
  color: #ffffff;
}
#contact .contact-info__list li .line-icon svg {
  width: 26px;
  height: 26px;
}
#contact .contact-info__list li > div {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
#contact .contact-info__list li > div span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.25em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 2px;
}
#contact .contact-info__list li > div a {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.98rem;
  word-break: break-all;
}
#contact .contact-info__list li > div a:hover {
  color: #5fb8e6;
}
#contact .contact-map {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(14, 42, 61, 0.1);
  height: 100%;
  min-height: 480px;
  border: 1px solid #e3edf5;
}
@media (max-width: 991px) {
  #contact .contact-map {
    min-height: 380px;
  }
}
#contact .contact-map iframe {
  display: block;
}/*# sourceMappingURL=all.css.map */