/* Banner區域 */
#divBanner {
    position: relative;
    padding: 50px;
 
    text-align: center;
    color: black;
    border-bottom: 2px solid #ffffff;
  
}


    #divBanner p {
        margin: 10px 0;
    }

#bannerTitle {
    font-size: 3rem;
    font-weight: 600;
}

#bannerText {
    font-size: 1.6rem;
    font-style: italic;
    margin-top: 15px;
    font-weight: bold;
}

/* 主要功能區域 */
#container {
    /*   width:80% */

}

.containerText {
    width: 80%;
    margin: 40px auto;
    text-align: center;
}

.containerTitle {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #007799;
    text-transform: uppercase;
}

.row {
    display: flex; /* 使用 flexbox */
    justify-content: center; /* 水平居中 */
    flex-wrap: wrap; /* 使列換行，當屏幕寬度較小時自動換行 */
    /*   gap:10px; */
}

.col-lg-4 {
    display: flex;
    justify-content: center; /* 確保每個列內的內容也居中 */
    align-items: center; /* 垂直居中 */
    padding: 0; /* 適當的內邊距 */
    /*   margin:0 5px */
}

.advantage {
    width: 60%;
    margin: 0 auto;
    padding-left: 0;
    list-style-type: none; /* 移除點 */
}

    .advantage li {
        text-align: left;
        padding: 10px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid #e0e0e0; /* 每個項目底部加細線 */
    }

        .advantage li:last-child {
            border-bottom: none; /* 移除最後一項的底部邊框 */
        }

/* 卡片設計 */
.LNPortItem {
    width: 90%;
    height: 280px;
    margin: 10px 0;
    text-align: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 添加陰影 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
}

    .LNPortItem:hover {
        transform: translateY(-5px); /* 鼠標懸停時提升卡片 */
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* 更強烈的陰影效果 */
    }

    .LNPortItem .img {
        width: 80%;
        margin: 0 auto;
        display: block;
        margin-bottom: 10px;
    }

.LNPortText {
    /*   padding: 10px; */
    border: none;
    border-top: 1px solid #f1f1f1;
}

    .LNPortText h3 {
        font-size: 1.2rem;
        font-weight: 800;
        margin: 10px;
        color: #e87c2b;
    }

    .LNPortText p {
        text-align: left;
        font-size: 1rem;
        color: dimgrey;
        line-height: 1.6;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

/* 圖示區域 */
.img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.05);
}


/* 產品諮詢區域 */
.LNPortItem a {
    text-decoration: none;
    color: inherit;
}

.LNPortItem h3 {
    font-size: 1.4rem;
    color: #e87c2b;
}

.LNPortItem p {
    font-size: 1rem;
}

footer {
    background-color: #45637d;
    color: white;
    /*padding: 20px;*/
    text-align: center;
    margin-top: 50px;
}

/* 響應式設計 */
@media (max-width: 768px) {
    #divBanner {
        padding: 40px 20px;
    }

    #bannerTitle {
        font-size: 2.2rem;
    }

    #bannerText {
        font-size: 1.4rem;
    }

    .containerText {
        width: 90%;
    }

    .containerTitle {
        font-size: 2rem;
    }

    .advantage {
        width: 80%;
    }

    .LNPortText h3 {
        font-size: 1.2rem;
    }

    .LNPortText p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    #divBanner {
        padding: 30px 10px;
    }

    #bannerTitle {
        font-size: 1.8rem;
    }

    .containerTitle {
        font-size: 1.6rem;
    }

    .LNPortText h3 {
        font-size: 1.1rem;
    }

    .LNPortText p {
        font-size: 0.9rem;
    }

    .ClientList img {
        max-width: 80px;
        max-height: 80px;
    }
}
