body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;

}

.header {
    background-color: #4CAF50;
    color: white;
    padding: 10px 0;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-header small {
    color: #999595;
    /* 顏色比 h1 淡 */
    font-size: 0.6em;
    /* 字形小一點 */
}

.breadcrumb {
    list-style: none;
    background-color: #e4e0e0;
    padding: 8px 15px;
    margin: 0;
    border-radius: 4px;
}

.breadcrumb>li {
    display: inline;
    font-size: 14px;
}

.breadcrumb>li+li:before {
    content: "/";
    padding: 0 5px;
}

.breadcrumb .active {
    font-weight: bold;
}

.fill {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}


a {
    text-decoration: none;
    color: inherit;
}

.header h1 {
    margin: 0;
    padding-left: 20px;
}

.header nav {
    margin-right: 20px;
}

/* 設置導航為 Flexbox 佈局 */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}


.nav-links,
.dropdown-content {
    display: flex;
    gap: 15px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
}

.nav-links a:hover {
    background-color: #45a049;
}

.dropdown {
    position: relative;
    display: inline-block;
    margin: 10px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.container {
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
}

/* 新增 Flexbox 佈局 */
.about-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /* 使項目在空間不足時換行 */
    gap: 20px;
    /* 項目之間的間距 */
}

.page-header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.panel {
    flex: 1;
    /* 使每個面板具有相同的彈性 */
    max-width: 30%;
    /* 設置最大寬度 */
    box-sizing: border-box;
    /* 確保內邊距和邊框不會影響寬度 */
}

.panel img {
    width: 100%;
    /* 使圖片寬度自適應面板 */
    height: auto;
    /* 高度自動調整 */
}


.section {
    background: white;
    margin: 20px 0;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.section h2 {
    color: #333;
}

.contact {
    background-color: #333;
    color: white;
    padding: 10px;
    text-align: center;
}

.contact p {
    margin: 0;
}

.contact a {
    color: #4CAF50;
    text-decoration: none;
}

.locations ul {
    list-style: none;
    padding: 0;
}

.locations li {
    margin-bottom: 10px;
}

.footer {
    text-align: center;
    padding: 10px 0;
    background-color: #4CAF50;
    color: white;
    margin-top: 20px;
}

.footer-contact {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #f4f4f4;
    border-top: 1px solid #ddd;
}

.footer-contact .contact-info,
.footer-contact .map {
    width: 48%;
}

.footer-contact h2 {
    margin-bottom: 10px;
}

.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 5px;
}

.map iframe {
    border: 0;
    width: 100%;
    height: 100%;
}

/* Carousel Container */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Carousel Images Container */
.carousel-images {
    display: flex;
    transition: transform 0.5s ease;
}

/* Carousel Images */
.carousel-images img {
    width: 100%;
    height: auto;
}

/* Navigation Buttons */
.prev,
.next {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    transform: translateY(-50%);
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.Box-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.top_row {
    display: flex;
    justify-content: space-between;
    /* 可选的，保证两列之间有间距 */
    gap: 15px;
    /* 可选的，设置两列之间的间距 */
    margin-bottom: 30px;
    /* 可选的，设置底部间距 */
}

.bg-color-1 {
    background-color: aqua;
   
}
.bg-color-2 {
    background-color: #FF4500;
    

}

.bg-color-3 {
    background-color: rgba(147, 112, 219, 1);
}

.text-center {
    text-align: center;
    background:#FFA07A;
}

.row{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
}
/* 統一圖片的大小 */
.img-responsive {
    width: 100%; /* 設定寬度為父容器的100% */
    height: auto; /* 自動調整高度以保持比例 */
    max-width: 300px; /* 設置最大寬度，根據需要調整 */
    max-height: 200px; /* 設置最大高度，根據需要調整 */
    display: block; /* 使圖片為塊級元素，居中對齊 */
    margin: auto; /* 使圖片居中 */
}

/* img-hover 可以是針對圖片 hover 的效果，這裡未設置具體樣式 */
.img-hover:hover {
    /* 根據需要  */
    transform: scale(1.05); /* 當滑鼠懸停時，圖片放大1.05倍 */
    filter: brightness(1.2); /* 當滑鼠懸停時，圖片變亮 */
}

/* 這些可能是原本的 Bootstrap 樣式，你可以保留或進行覆蓋 */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 10px;
    text-align: center;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #004085;
}

.row {
    display: flex;
    margin: 0 -15px;
    flex-wrap: wrap;
}

.col-md-7, .col-md-5 {
    padding: 0 15px;
    box-sizing: border-box;
}

.col-md-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
}

.col-md-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
}

