

.mt-20 {

	margin-top: 20px;
}


.mb-30 {

	margin-bottom: 30px;
}

.mb-45 {

	margin-bottom: 45px;
}

.pt-60 {
	padding-top: 60px;
}

.autoc {
	margin-right: auto;
	margin-left: auto;
}


.bl-area{
	background-image: url(img/bl-bg.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	height: 437px;
	width: 100%;
	margin-top: -140px;
}


.pc {
display:inline;

}
.phone {
display:none;
}



.mt-80 {

	margin-top: 60px;
}

.mt-130 {

	margin-top: -130px;
}


.addwd01 {
	font-size: 20px;
	line-height: 30px;

	color: #7a9097;
	text-align: center;
}


.addwd02 {
	font-size: 16px;
	line-height: 25px;
	color: #898989;
	text-align: center;
}

.addwd02-1 {
	font-size: 16px;
	line-height: 28px;
	color: #898989;
	text-align: center;
}


.addwd02-2 {
	font-size: 16px;
	line-height: 50px;
	color: #898989;
	text-align: left;
}





.addwd02-2 a:hover{
	color: #898989;
	border-bottom-width: 3px;
	border-bottom-style: solid;
	border-bottom-color: #9fa0a0;
	width: 150px;
	padding-bottom: 5px;
}

 .addwd02-2   a:link{

  text-decoration: none;		color: #898989;
}

.addwd02-2   a:visited{

    text-decoration: none;			color: #898989;
}


.addwd02-2  a:active{

   text-decoration: none;			color: #898989;
 }




.addwd02-3 {
	font-size: 18px;
	line-height: 30px;
	color: #333;
	text-align: center;
	margin-top: 20px;
}

.addwd02-4 {
	font-size: 16px;
	line-height: 28px;
	color: #898989;
	text-align: left;
}






.addwd03 {
	font-size: 40px;
	line-height: 50px;
	color: #fff;
}

.addwd03-1 {
	font-size: 40px;
	line-height: 50px;
	color: #231815;
}




.addwd04 {
	color: #fff;
	font-size: 16px;
}

.addwd04-1 {
	color: #231815;
	font-size: 16px;
}

.addwd05 {
	font-size: 25px;
	line-height: 40px;
	color: #9fa0a0;
	font-weight: bold;
	text-align: left;
}


	 @media screen and (max-width : 989px) {
	 .addwd02-2 {
	font-size: 15px;
	line-height: 40px;
	color: #666;
	text-align: left;
}

.addwd02-4 {
	font-size: 15px;
	line-height: 25px;
	color: #898989;
	text-align: left;
}

.addwd05 {
	font-size: 20px;
	line-height: 30px;
	color: #9fa0a0;
	font-weight: bold;
	text-align: left;
}

}



.addwd05-1 {
	font-size: 30px;
	line-height: 30px;
	color: #666666;
	margin-bottom: 45px;
	font-weight: bold;
}


.addwd06 {
	font-size: 20px;
	line-height: 30px;
	color: #fff;
	margin-bottom: 15px;
	text-shadow: 0px 0px 5px #000; 
}

.addwd06-1 {
	font-size: 20px;
	line-height: 30px;
	color: #fff;
	text-shadow: 0px 0px 5px #000;
	margin-top: 10px;
}

	 @media screen and (max-width : 600px) {
.addwd06-1 {
	font-size: 15px;
	line-height: 20px;
	color: #fff;
	text-shadow: 0px 0px 5px #000;
	margin-top: 10px;
}

}



.addwd06-2 {
	font-size: 18px;
	line-height: 40px;
	color: #999999;
}

.addwd07 {
	font-size: 18px;
	line-height: 30px;
	color: #333;
	margin-bottom: 15px;
}

.addwd08 {
	font-size: 18px;
	line-height: 40px;
	color: #333;
	margin-bottom: 15px;
}


.cir20 {


}

.cir20 img {

 border-radius: 20px;

}




/* 垂直時間軸容器 */
.timeline-container {
    position: relative;
}

/* 垂直時間軸的線條 */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 0; /* 調整此數值以改變線條位置 */
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #7a9097; /* 線條顏色 */
}

/* 時間軸單個項目 */
.timeline-item {
    position: relative;
    padding-left: 20px; /* 留出空間給圓點和線條 */
}

/* 時間軸項目左側的圓點 */
.timeline-item::before {
    content: '';
    position: absolute;
    top: 6px; /* 調整此數值以改變圓點的垂直位置 */
    left: -7px; /* 調整此數值以改變圓點的水平位置 */
    width: 16px;
    height: 16px;
    background-color: #7a9097; /* 圓點顏色 */
    border-radius: 50%;
    z-index: 1; /* 確保圓點在線條上方 */
}

.timeline-title {
	font-weight: 500;
	color: #9fa0a0; /* 標題顏色 */
	margin-bottom: 5px;
	font-size: 28px;
	padding-top: 50px;
}

.timeline-text {
	line-height: 1.6;
	padding-bottom: 110px;
	color: #7a9097;
}

.img90 {
	width: 90%;
}



/* 響應式調整 */
@media (min-width: 992px) {
    .timeline-container::before {
        left: -15px; /* 在大螢幕上調整線條位置 */
    }
    .timeline-item::before {
        left: -22px; /* 在大螢幕上調整圓點位置 */
    }
}



.full-page-container {
	margin-bottom: 0px;	
}

/* 左側表單區塊 */
.form-section {

    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.form-input, .form-input-area {
	background-color: rgba(255, 255, 255, 0.3);
	color: #fff; /* 增加內距 */
	font-size: 16px;
	margin-bottom: 20px;
	padding-top: 1.25;
	padding-right: rem;
	padding-bottom: 1;
	padding-left: rem;
	border-bottom-width: 1px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: solid;
	border-left-style: none;
	border-bottom-color: #FFFFFF;
}

.form-input::placeholder, .form-input-area::placeholder {
    color: rgba(255, 255, 255, 0.7); /* 調整 placeholder 顏色 */
}

.form-input:focus, .form-input-area:focus {
    background-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    box-shadow: none; /* 移除藍色外框 */
}

/* 提交按鈕樣式 */
.btn-submit {
	background-color: #ffffff; /* 灰色按鈕背景 */
	color: #727171;
	border: none;
	width: 150px;
	border-radius: 0px;
}

.btn-submit:hover {
    background-color: #bebebe;
    color: #333;
}

/* 右側圖片區塊 */
.image-section {
	/* 設定背景圖片的路徑 */
  background-image: url('img/service/2-bg.jpg');
	/* 讓圖片完整覆蓋整個 div 區域，可能會裁切部分圖片以維持比例 */
  background-size: cover;
	/* 將圖片置中顯示 */
  background-position: center;
	/* 背景不重複 */
  background-repeat: no-repeat;
	height: 100vh;
}




/* 確保 Bootstrap 的 row 在 flex 模式下能正常撐開高度 */
.h-100 {
 
}


.full-height-img {
    width: 100%;
    object-fit: cover; /* 讓圖片填滿整個容器，不會變形 */
}

/* 在小螢幕上將右側圖片隱藏 */
@media (max-width: 991.98px) {
    .image-section {
        
    }
    .form-section {
        height: 100vh;
    }
}


.form-container{
	width: 80%;
	margin-right: auto;
	margin-left: auto;
	margin-top: 28px;
	margin-bottom: 34px;
}


.px15{
    padding-left: 0px!important;
    padding-right: 0px!important;
}


.contact-container {
    padding: 3rem;
}

/* 標題與 LOGO */
.logo-title {
	font-size: 1.5rem;
	font-weight: bold;
	color: #444;
	margin-bottom: 5px;
}

/* 左側導覽菜單 */
.menu-row {
    font-size: 0.9rem;
}

.menu-heading {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.menu-row ul li a {
    color: #555;
    text-decoration: none;
    line-height: 2;
}

.menu-row ul li a:hover {
    color: #000;
}

/* 右側聯絡資訊與社群 */
.contact-heading {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.5rem;
}



/* 社群圖示 */
.social-icons .social-icon-link {
    color: #888;
    transition: color 0.3s;
}

.social-icons .social-icon-link:hover {
    color: #333;
}

/* 地圖區塊 */
.map-row {
    margin-top: 3rem;
}

.map-image {
    height: 100%;
    object-fit: contain;
}

/* 響應式調整 */
@media (max-width: 767.98px) {
    .contact-container {
        padding: 1.5rem;
    }
    .contact-info-col, .follow-col {
        text-align: center;
        margin-bottom: 2rem;
    }
    .social-icons {
        display: flex;
        justify-content: center;
    }
}





.header {
    display: flex;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 20px;
}

.header-title {
    font-size: 30px;
    font-weight: bold;
    margin-right: 20px;
}

.header-title2 {
    font-size: 30px;
    font-weight: bold;
	color:#898989;
}


.header-line {
    flex-grow: 1;
    height: 1px;
    background-color: #aaa;
}

.header-box {
	border: 1px solid #8e8e8e;
	position: absolute;
	background-color: #FFFFFF;
	padding-top: 3px;
	padding-right: 20px;
	padding-bottom: 3px;
	padding-left: 20px;
	right: 0px;
	color: #3b3a3a;
	font-size: 15px;
}

.header-box a {
    text-decoration: none;
    color: #8e8e8e;
    font-size: 0.8rem;
    font-weight: bold;
    margin: 0 5px;
}

/* 主內容區塊 */
.main-content {
    display: flex;
    gap: 20px;
}

/* 左側文字區塊 */
.left-section {
    flex: 1;
    background-color: #fff;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.section-text {
    line-height: 1.8;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.left-image-container img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 右側圖片與文字區塊 */
.right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #5d7581; /* 深灰色背景 */
    color: #fff;
}

.right-image-container {
    flex: 1;
    overflow: hidden;
}

.right-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.text-boxes {
    display: flex;
}

.concept-box, .trust-box {
    flex: 1;
    padding: 30px;
}

.trust-box {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.box-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.box-text {
    font-size: 0.9rem;
    line-height: 2;
}

/* 響應式設計 */
@media (max-width: 1024px) {
    .main-content {
        flex-direction: column;
    }
    .left-section {
        padding: 30px;
    }
    .right-image-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    .header {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .header-title {
        margin-right: 0;
    }
    .header-line {
        display: none;
    }
    .header-box {
        margin-left: 0;
		display:none;
    }
    .text-boxes {
        flex-direction: column;
    }
    .trust-box {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    .left-section {
        padding: 20px;
    }
}



.single-events2 {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 20px;
    border: 10px solid #efefef;
}

.blog-content2 {
    background: #efefef;
    padding: 10px 20px 10px;
}


.single-events3 {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.image-scale2 {
    position: relative;
    transform: scale(1);
    display: block;
    transition: 0.5s;
}

.image-scale2:hover {
    position: relative;
    transform: scale(1.1);
    display: block;
    transition: 0.5s;
}

 option {
    color: #333 !important;
}

.mt-10 {
	margin-top: 10px;
}









.form-section {
   /* ... 其他樣式 ... */
   display: flex; /* 確保 form-section 也是 flex 容器，方便內容垂直置中 */
   flex-direction: column; /* 讓 form 裡面的元素垂直排列 */
   justify-content: center; /* 將 form 內容垂直置中 */
   height: auto; /* 允許 form-section 根據內容調整高度 */

}



/* 如果您希望左右兩邊在內容不足時也能佔滿整個視窗高度 */



.container-fluid.full-page-container > .row.g-0.h-100 {
   flex-grow: 1; /* 讓 row 在 container-fluid 中佔據剩餘空間 */
   display: flex; /* 再次確保 row 是 flex 容器 */
    justify-content: center;
}

@media (max-width: 1200px) {

.container-fluid.full-page-container > .row.g-0.h-100 {
    flex-grow: 1;
    display: inline;
}


.addmenu{
    flex-grow: 1;
    display: none !important;
}


}

@media (max-width: 600px) {

.form-container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    margin-top: 28px;
    margin-bottom: 34px;
}


}


.area-padding-3 {
    padding: 60px 0px 70px;
}



.container-fluid {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
}


.promo-card {
    position: relative; /* 關鍵：作為偽元素遮罩的定位基準 */
    height: 80vh;   /* 給定一個最小高度，避免內容太少時區塊塌陷 */
    overflow: hidden;   /* 隱藏超出的部分 */
    border-radius: 0.25rem; /* 可選：加一點圓角 */
    /* 背景圖設定 */
    background-size: cover;
    background-position: center;
    /* 使用 Flexbox 讓內容垂直和水平置中 */
    display: flex;
    justify-content: center;
    color: white; /* 設定內部文字顏色為白色 */
}




/* 使用 ::before 偽元素建立半透明黑色遮罩 */
.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* 確保遮罩在背景圖之上 */
    transition: background-color 0.3s ease; /* 可選：滑鼠懸停時的漸變效果 */
}

/* 滑鼠懸停時，讓遮罩變淡一點 */
.promo-card:hover::before {
    background-color: rgba(0, 0, 0, 0.3);
}



.promo-card1 {
	position: relative; /* 關鍵：作為偽元素遮罩的定位基準 */
	height: 400px;   /* 給定一個最小高度，避免內容太少時區塊塌陷 */
	overflow: hidden;   /* 隱藏超出的部分 */
	border-radius: 0.25rem; /* 可選：加一點圓角 */
	/* 背景圖設定 */
    background-size: cover;
	background-position: center;
	/* 使用 Flexbox 讓內容垂直和水平置中 */
    display: flex;
	justify-content: center;
	color: white; /* 設定內部文字顏色為白色 */
    transform: scale(1);
}

/* 使用 ::before 偽元素建立半透明黑色遮罩 */
.promo-card1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* 確保遮罩在背景圖之上 */
    transition: background-color 0.3s ease; /* 可選：滑鼠懸停時的漸變效果 */
}

/* 滑鼠懸停時，讓遮罩變淡一點 */
.promo-card1:hover::before {
    background-color: rgba(0, 0, 0, 0.3);
    transition: 0.5s;
	
}

.promo-card1:hover {
    transform: scale(1.1);
    transition: 0.5s;
	
}






/* 文字內容區塊 */
.promo-content {
    position: relative; /* 關鍵：讓文字內容可以設定 z-index */
    z-index: 99;         /* 確保文字在遮罩之上 */
    text-align: center; /* 文字置中對齊 */
    top: 70%;	
}

.promo-content1 {
    position: relative; /* 關鍵：讓文字內容可以設定 z-index */
    z-index: 99;         /* 確保文字在遮罩之上 */
    text-align: center; /* 文字置中對齊 */
    top: 40%;	
}

.promo-content2 {
position: absolute; 
	z-index: 99;         /* 確保文字在遮罩之上 */
	text-align: left;
	width: 90%;
	margin-right: auto;
	margin-left: auto;
	top: 85%;
}









.promo-content3 {
    position: relative; /* 關鍵：讓文字內容可以設定 z-index */
    z-index: 99;         /* 確保文字在遮罩之上 */
    text-align: center; /* 文字置中對齊 */
    top: 70%;	
}




.promo-content h3 {
	font-weight: bold;
	color: #FFFFFF;	
	margin: 0 0 0 0;
}

.promo-content1 h3 {
	font-weight: bold;
	color: #FFFFFF;	
	margin: 0 0 0 0;
}

.promo-content3 h3 {
	font-weight: 300;
	color: #FFFFFF;	
	margin: 0 0 0 0;
   font-size: 20px;
    line-height: 38px;
}


.text-white-50{
	color: #FFFFFF;	
}

.text-white-50-1{
	color: #FFFFFF;
	margin-left: 20px;
}



.promo-content a {
    color: white;
    text-decoration: underline;
    font-weight: bold;
}

.promo-content1 a {
    color: white;
    text-decoration: underline;
    font-weight: bold;
}


.promo-content1 a:link {
    text-decoration: underline;
	}

.promo-content1 a:active {
    text-decoration: underline;
	}

.promo-content1 a:visited {
    text-decoration: underline;
	}
 
.promo-content1 a:hover{
    text-decoration: underline;
	}



.promo-content3 a {
    color: white;
    text-decoration: underline;
    font-weight: bold;
}

.promo-content3 a:link {
    text-decoration: underline;
	}

.promo-content3 a:active {
    text-decoration: underline;
	}

.promo-content3 a:visited {
    text-decoration: underline;
	}
 
.promo-content3 a:hover{
    text-decoration: underline;
	}


.stretched-link {
    color: white;
    text-decoration: underline;
    font-weight: bold;
}


 a:link {
	text-decoration: none;
	}

 .a:active {
		text-decoration: none;
	}

 .a:visited {
		text-decoration: none;
	}
 
 .a:hover{
		text-decoration: none;
	}







/* 針對下方較大的卡片進行樣式微調 */
.promo-card-large {
    min-height: 50vh;
    justify-content: flex-end; /* 將內容推到右邊 */
}

.promo-card-large .promo-content1 {
	text-align: right; /* 文字靠左對齊 */
	max-width: 20%;   /* 限制文字區塊的最大寬度，避免過長 */
	margin-right: 10%;	
}

.promo-card-large .promo-content3 {
	text-align: right; /* 文字靠左對齊 */
	max-width: 20%;   /* 限制文字區塊的最大寬度，避免過長 */
	margin-right: 10%;	
}

/* 在小於 768px 的螢幕上，讓下方卡片的文字區塊寬度變大 */
@media (max-width: 768px) {
    .promo-card-large .promo-content1 {
        max-width: 80%;
        justify-content: center;
    }
	
	.promo-card-large .promo-content3 {
	text-align: right; /* 文字靠左對齊 */
	width: 80%;
        margin-right: 10%;
        max-width: 80%;
}

.promo-content1 {
    position: relative; /* 關鍵：讓文字內容可以設定 z-index */
    z-index: 99;         /* 確保文字在遮罩之上 */
    text-align: center; /* 文字置中對齊 */
    top: 30%;	
}

.promo-content3 h3 {
	font-weight: 300;
	color: #FFFFFF;	
	margin: 0 0 0 0;
   font-size: 18px;
    line-height: 30px;
}

.promo-content h3 {
	font-weight: bold;
	color: #FFFFFF;	
	margin: 0 0 0 0;
	font-size: 16px;
    line-height: 30px;
}

.promo-content1 h3 {
    font-weight: bold;
    color: #FFFFFF;
    margin: 0 0 0 0;
	font-size: 18px;
    line-height: 30px;
}

h4 {
    font-size: 20px;
    line-height: 34px;
}
	
	
}

.pa0 {
padding-left: 0px!important;
    padding-right: 0px!important;
}



.philosophy-list p {
    margin-bottom: 0.5rem; /* 讓「企業理念」下方的列表行距更緊湊 */
    font-weight: 500;
}

.content-text p {
    line-height: 1.8; /* 增加段落行高，提升易讀性 */
}

/* --- 特殊樣式：標題區塊 --- */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* 讓標題和按鈕分散對齊 */
    gap: 2rem; /* 在標題和按鈕之間保留一些間隔 */
	position: relative;
}

.title-container {
    flex-grow: 1; /* 讓標題容器佔據所有可用空間 */
    display: flex;
    align-items: center;
}

/* 使用 ::before 和 ::after 偽元素來製作標題兩側的橫線 */
.title-container::before,
.title-container::after {
    content: '';
    flex-grow: 1; /* 讓線條自動填滿剩餘的寬度 */
    height: 1px;
    background-color: #8e8e8e; /* 使用 Bootstrap 預設的分隔線顏色 */
}

.title-text {
    font-size: 30px;
    font-weight: 500;
    color: #333;
    margin: 0 2rem; /* 讓標題和兩側的線條之間有間距 */
    white-space: nowrap; /* 確保標題文字不會換行 */
}

.about-button {
    border: 1px solid #212529; /* 黑色邊框 */
    padding: 0.4rem 1rem;
    color: #212529;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px; /* 增加字母間距 */
    white-space: nowrap;
    transition: all 0.2s ease-in-out; /* 滑鼠懸停的過渡效果 */
}

.about-button:hover {
    background-color: #212529;
    color: white;
}

/* --- 響應式調整：在小螢幕上調整標題區塊的排版 --- */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column; /* 垂直堆疊 */
        gap: 1rem;
    }
    
    .title-container::before,
    .title-container::after {
        display: none; /* 在手機上隱藏線條，讓版面更簡潔 */
    }

    .title-text {
        margin: 0; /* 移除左右間距 */
    }
}


.mb-5{
		margin-bottom:80px;
    }
	
	.autoc{
display:flex;
justify-content:center;
}

	.autocc{
display:flex;
justify-content:center;
align-items:center;
}









/* 1. 設定文字元素的「預設狀態」(滑鼠還沒放上去時) */
.promo-content h3,
.promo-content p,
.promo-content .stretched-link {
    opacity: 0; /* 完全透明 */
    transform: translateY(20px); /* 稍微向下移動 20px */

    /* 設定過渡效果：針對所有屬性變化，持續 0.4 秒，使用 ease-in-out 速度曲線 */
    transition: all 0.4s ease-in-out;
}



@media screen and (max-width: 768px) {
.promo-card {
    position: relative; /* 關鍵：作為偽元素遮罩的定位基準 */
    height: 50vh;   /* 給定一個最小高度，避免內容太少時區塊塌陷 */
    overflow: hidden;   /* 隱藏超出的部分 */
    border-radius: 0.25rem; /* 可選：加一點圓角 */
    /* 背景圖設定 */
    background-size: cover;
    background-position: center;
    /* 使用 Flexbox 讓內容垂直和水平置中 */
    display: flex;
    justify-content: center;
    color: white; /* 設定內部文字顏色為白色 */
}

.promo-card1 {
	position: relative; /* 關鍵：作為偽元素遮罩的定位基準 */
	height: 230px;   /* 給定一個最小高度，避免內容太少時區塊塌陷 */
	overflow: hidden;   /* 隱藏超出的部分 */
	border-radius: 0.25rem; /* 可選：加一點圓角 */
	/* 背景圖設定 */
    background-size: cover;
	background-position: center;
	/* 使用 Flexbox 讓內容垂直和水平置中 */
    display: flex;
	justify-content: center;
	color: white; /* 設定內部文字顏色為白色 */
    transform: scale(1);
}
.promo-content2 {
position: absolute; 
	z-index: 99;         /* 確保文字在遮罩之上 */
	text-align: left;
	width: 90%;
	margin-right: auto;
	margin-left: auto;
	top: 70%;
}

.promo-content h3,
.promo-content p,
.promo-content .stretched-link {
    opacity: 100; /* 完全透明 */
    transform: translateY(20px); /* 稍微向下移動 20px */

    /* 設定過渡效果：針對所有屬性變化，持續 0.4 秒，使用 ease-in-out 速度曲線 */
    transition: all 0.4s ease-in-out;
}

.promo-content {
    position: relative; /* 關鍵：讓文字內容可以設定 z-index */
    z-index: 99;         /* 確保文字在遮罩之上 */
    text-align: center; /* 文字置中對齊 */
    top: 60%;	
}


}






/* 2. 設定文字元素的「滑鼠移入狀態」 */
.promo-card:hover .promo-content h3,
.promo-card:hover .promo-content p,
.promo-card:hover .promo-content .stretched-link {
    opacity: 1; /* 完全顯示 */
    transform: translateY(0); /* 回到原本的位置 */
}

/* 3. 設定「延遲時間」，讓文字一段一段出現 */
/* 主標題 (h3) 不需要延遲，滑鼠一放上就馬上開始動畫 */
.promo-card:hover .promo-content h3 {
    transition-delay: 0s;
}

/* 副標題 (p) 延遲 0.15 秒後才開始動畫 */
.promo-card:hover .promo-content p {
    transition-delay: 0.15s;
}

/* more 連結延遲 0.3 秒後才開始動畫 */
.promo-card:hover .promo-content .stretched-link {
    transition-delay: 0.3s;
}

/* 針對 more 連結的額外樣式 */
.promo-content .stretched-link {
    display: inline-block; /* 讓 transform 生效 */
    margin-top: 1rem;
    text-decoration: underline;
    text-underline-offset: 4px; /* 讓底線和文字有點距離，更好看 */
    color: white;
}


/* --- 自訂 Bootstrap 分頁樣式 --- */

/* 調整 pagination 元件本身，移除預設的圓角 */
.pagination {
    --bs-pagination-border-radius: 0;
}

/* 針對每一個分頁連結 (.page-link) 的基礎樣式 */
.page-link {
    border: none; /* 移除邊框 */
    background-color: transparent; /* 背景設為透明 */
    color: #343a40; /* 設定預設文字顏色為深灰色 */
    font-weight: bold; /* 字體加粗 */
    margin: 0 0.5rem; /* 增加左右間距 */
    padding: 0.5rem 0.25rem; /*微調內部空間*/
}

/* 滑鼠懸停在連結上時的樣式 */
.page-link:hover {
    color: #000; /* 滑鼠移上去時顏色變深黑 */
    background-color: #e9ecef; /* 加上淡淡的灰色背景 */
}

/* 移除點擊時的藍色外框 (for accessibility, consider a custom outline) */
.page-link:focus {
    box-shadow: none;
    background-color: #e9ecef;
}

/* 當前頁面 (.active) 的樣式 */
.page-item.active .page-link {
    color: #adb5bd; /* 設定為圖片中的淺灰色 */
    background-color: transparent; /* 背景透明 */
    font-weight: normal; /* 取消粗體 */
    cursor: default; /* 滑鼠指標變為預設，表示不可點擊 */
}

/* 禁用狀態 (.disabled) 的樣式 */
.page-item.disabled .page-link {
    color: #adb5bd; /* 同樣設定為淺灰色 */
    background-color: transparent;
}


.image-scale1 {
    position: relative;
    overflow: hidden; /* **非常重要**：確保圖片放大時不會超出邊界 */
    display: block;
    /* 圖片的過渡效果設定 */
    transition: transform 0.5s ease; /* 只針對 transform 屬性設定過渡，更精確 */
}

/* 預設的遮罩樣式 */
.image-scale1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(29, 29, 29, 0.3); /* 預設的遮罩顏色 */
    /* 遮罩的過渡效果設定 */
    transition: background-color 0.3s ease;
}

/* 當滑鼠移入 .image-scale1 時的樣式變化 */
.image-scale1:hover {
    transform: scale(1.1); /* 圖片放大 1.1 倍 */
}

/* 當滑鼠移入 .image-scale1 時，遮罩 ::before 的樣式變化 */
.image-scale1:hover::before {
    background-color: rgba(29, 29, 29, 0.1); /* 遮罩顏色變淡 */
}

/* 如果您的圖片是 img 標籤在 .image-scale1 內部，確保它能被 transform */
.image-scale1 img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 確保圖片填充容器 */
    transition: transform 0.5s ease; /* 如果圖片是直接縮放，也要給它過渡 */
}

/* 如果圖片在內部，並且希望整個 .image-scale1 放大時，內部 img 也放大 */
.image-scale1:hover img {
    transform: scale(1.1);
}


@media (max-width: 768px) {

  .mobile-menu-area .container {
    padding-left: 0;
    padding-right: 0;
	width: 100%;
  }

  .mobile-menu-area .row {
    margin-left: 0;
    margin-right: 0;
  }

  .mobile-menu-area [class^="col-"] {
    padding-left: 0;
    padding-right: 0;
  }
}



