html, body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}
body {
	font-family: 'Arial', sans-serif;
	font-size: 16px;
	color: #666;
}
.h400banner{height:400px!important}
/* ===============================
   Navbar
=============================== */
.navbar {
	
background-image: linear-gradient(
  60deg, 
  rgba(61, 51, 147, 0.7) 0%,   /* #3d3393 */
  rgba(43, 118, 185, 0.7) 37%,  /* #2b76b9 */
  rgba(44, 172, 209, 0.7) 65%,  /* #2cacd1 */
  rgba(53, 235, 147, 0.7) 100%  /* #35eb93 */
);
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 999;
  
  /* 下方陰影 */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
.nav-item a{ font-size:18px }
.navbar-collapse {}
	  
	  
.navbar-brand img{margin-right:10px;}	

.navbar-brand{
	font-size:28px;
	font-weight: 600;
}


/* 桌面版顯示正常 */
@media (min-width: 992px) {
    .navbar-collapse {
        position: static !important;
        background: transparent !important;
        transform: none !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-end !important;
    }
    .navbar-collapse .navbar-nav {
        flex-direction: row !important;
        text-align: left !important;
    }
    .navbar-collapse .navbar-nav .nav-link {
        color: #fff !important;
 
        margin: 0 0.5rem !important;
    }
    .navbar-collapse .close-btn {
        display: none;
    }
}
.navbar-toggler {  color: #fff ;
    font-size: 40px;      /* 漢堡圖示大小 */
    border: none;         /* 移除預設邊框 */
    outline: none;        /* 移除聚焦輪廓線 */
    box-shadow: none;     /* 移除陰影 */
}

/* 點擊後、聚焦、滑鼠懸停都不顯示任何邊框或陰影 */
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:hover {
    border: none;
    outline: none;
    box-shadow: none;
}
/* 手機版滿版半透明選單 + 完全置中 */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
	background: #2A7B9B;
background: linear-gradient(90deg,rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%, rgba(237, 221, 83, 1) 100%);
	   display: flex;
        flex-direction: column;
        justify-content: center; /* 垂直置中 */
        align-items: center;     /* 水平置中 */
        padding: 0 !important;
        margin: 0 !important;
        z-index: 1100;
        transition: transform 0.3s ease-in-out;
        transform: translateX(100%);
    }
    .navbar-collapse.show {
        transform: translateX(0);
    }
    /* nav-items 垂直排列、完全置中 */
    .navbar-collapse .navbar-nav {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%; 
        margin: 0;
        padding: 0;
    }
    .navbar-collapse .navbar-nav .nav-item {
        margin: 1rem 0;
    }
    .navbar-collapse .navbar-nav .nav-link {
        color: #fff;
        font-size: 1.5rem;
        text-align: center;
        padding: 0;
    }
    /* 關閉按鈕 */
    .navbar-collapse .close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size:60px;
        color: #fff;
        background: none;
        border: none;
        cursor: pointer;
    }
}

/* 滿版輪播 */
.owl-carousel {
    position: relative;
    margin-top: -60px;
}
.owl-carousel .item {
    width: 100vw;
    height: 100vh;
    z-index: 0;
}
.owl-carousel .item img {
    width: 100%;
    display: block;
    height: 100%;
    object-fit: cover;
}
 
/* Hero 文字區 */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    z-index: 3; /* 確保文字在流星上層 */
}
.hero-content h2 {
	  animation: fadeUp 1s ease-out 0.3s forwards; /* 延遲 0.3s */
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}
.hero-content h2,
.hero-content p {
    opacity: 0;
    transform: translateY(20px);
    animation-fill-mode: forwards;
}
.hero-content p {
	  animation: fadeUp 1s ease-out 0.6s forwards; /* 延遲 0.6s */
    font-size: 1.2rem;
    margin: 20px 0;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.6);
}
.hero-content .btn {
    font-size: 1.2rem;
    padding: 0.8rem 2rem;
	    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease-out 0.9s forwards;
}
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* OwlCarousel 左右箭頭 */
.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 4; /* 確保箭頭在流星上層 */
}
.owl-nav button {
    background: rgba(0,0,0,0.5);
    color: #fff !important;
    border: none;
    padding: 1.5rem 2rem;
    border-radius: 50%;
    font-size: 50px!important;
    pointer-events: auto;
 
}
.owl-nav button:hover {
    color: rgba(255, 255, 255, 0.6) !important; /* 半透明白色 */
    background: transparent!important;; /* 滑過也透明 */
}

/* 移除圓點 */
.owl-dots {
    display: none;
}

/* 流星雨容器 */
#meteor-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* 不阻擋輪播操作 */
    overflow: hidden;
    z-index: 2; /* 在輪播圖上層，但低於文字與箭頭 */
}

/* 流星樣式 */
.meteor {
    position: absolute;
    width: 20px;
    height: 200px; /* 拉長尾巴 */
    opacity: 0.9;
    transform-origin: top left;
    animation: meteor-move linear forwards;
}
@keyframes meteor-move {
    0% {
        transform: translate(0,0) rotate(45deg);
        opacity: 1;
    }
    100% {
        transform: translate(var(--x-end), var(--y-end)) rotate(45deg);
        opacity: 0;
    }
}

/* 商品區 */
.product-gallery img {
    width: 100%;aspect-ratio: 1 / 1; /* 長寬比 1:1 */
    height: auto;
    cursor: pointer;
    transition: transform 0.3s;
}
.product-gallery img:hover {
    transform: scale(1.05);
}

/* Section間距 */
section {
    padding:  0px ;
}
.mainBg{background-image: linear-gradient(
  60deg, 
  rgba(61, 51, 147, 1) 0%,   /* #3d3393 */
  rgba(43, 118, 185, 1) 37%,  /* #2b76b9 */
  rgba(44, 172, 209, 1) 65%,  /* #2cacd1 */
  rgba(53, 235, 147, 1) 100%  /* #35eb93 */
);
color:#FFF
}
.subBg{
	background-image: url(../img/banner-product.jpg);
	color:#FFF;
	background-repeat: no-repeat;
	background-position: center center;
}
/* Footer */
footer {

    color: #fff;
    text-align: center;
    padding: 40px 0;
}
footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}
footer a:hover {
    color: #ffc107;
    text-decoration: underline;
}

footer small{ display:block; padding-top:30px; letter-spacing:3px; }

.title small{letter-spacing:3px;}
 .title H2{}
 a{
	text-decoration: none;
	color: #666;
}
.product-list{}
.product-list .item{margin-bottom:30px;}


  /* 圓形特點樣式 */
  .feature-circle {
    width: 120px;
    height: 120px;
    border: 2px solid #eee; /* 可改成品牌色 */
    border-radius: 50%;
    font-weight:400;
    display: flex; font-size:20px;
    text-align: center;
    padding: 10px;
    line-height: 1.3;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: default;
  }

  .feature-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }

  .features-row .col-6 {
    display: flex;
    justify-content: center;
  }

  @media (max-width: 767px) {
    .feature-circle {
      width: 120px;
      height: 120px;
      font-size:20px;
    }
  }