/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background: #FFFFFF;
    color: #333333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1 {
    font-size: 38px;
    font-weight: 600;
    color: #031961;
    font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Arial, sans-serif;
}

h2 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1b;
    font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Arial, sans-serif;
    overflow: hidden;
}

.h2R {
    font-size: 24px;
    font-weight: 600;
    color: #ec1010;
    font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Arial, sans-serif;
    overflow: hidden;
}

.h2B {
    font-size: 24px;
    font-weight: 600;
    color: #0a18df;
    font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Arial, sans-serif;
    overflow: hidden;
}

.h2G {
    font-size: 24px;
    font-weight: 600;
    color: #3ca50cf5;
    font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Arial, sans-serif;
    overflow: hidden;
}

.highlight {
    position: relative;
}

.highlight:before {
    content: "";
    z-index: -1;
    position: absolute;
    height: 0.3em;
    top: 1.2rem;
    background: rgb(247, 63, 39);
    width: 100%;
    opacity: 0.55;
}

.highlight1 {
    position: relative;
}

.highlight1:before {
    content: "";
    z-index: -1;
    position: absolute;
    height: 0.3em;
    top: 1.2rem;
    background: rgb(33, 132, 245);
    width: 100%;
    opacity: 0.55;
}

.highlight3 {
    position: relative;
}

.highlight3:before {
    content: "";
    z-index: -1;
    position: absolute;
    height: 0.3em;
    top: 2rem;
    background: rgb(97, 138, 250);
    width: 100%;
    opacity: 0.4;
}

.divider {
    border: none;
    height: 3px;
    background-color: #040558;
    margin: 10px 5px 20px;
    border-radius: 2px;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    margin-left: 20%;
}

.logo-img {
    width: 362px;
    height: 73px;
    margin-right: 0.5rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #333333;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin-right: 15%;
    transition: all 0.3s ease;
}

.nav-links li a {
    color: #333333;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: "Microsoft JhengHei", sans-serif;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #007AFF;
    transition: width 0.3s ease;
}

.nav-links li a:hover {
    color: #007AFF;
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #333333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Active state for hamburger (X shape) */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Banner */
.banner {
    position: relative;
    height: 350px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 80%;
    background: url('banner/banner21.png') center/cover no-repeat;
    background-position: center center; /* 預設居中顯示 */
    opacity: 1.0;
    align-items: stretch;
    transition: background-position 0.3s ease; /* 平滑過渡 */
}

/* 移除 .banner::after，因為已經被註解掉 */
/*.banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 16, 136, 0.8);
    opacity: 0.3;
    align-items: stretch;
}*/

.banner::before, .banner {
    animation: fadeIn 0.7s ease-in-out;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 0.8; } /* 調整為與 opacity 一致 */
}

/* Banner Content */
.banner-content {
    position: relative;
    z-index: 2;
    background: none;
    padding: 0 3rem;
    border: none;
    box-shadow: none;
    max-width: 100%;
    width: 100%;
    text-align: left;
}

.banner-content h2 {
    font-size: 30px;
    color: #FFFFFF;
    font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
    position: relative;
    display: inline-block;
}

/* 藍色線條 */
.banner-content h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80%;
    height: 3px;
    background-color: #007AFF;
    border-radius: 2px;
}

/* Contact Info */
.contact-info {
    margin-top: 2rem;
    margin-left: 2rem;
}

.contact-info h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #333333;
    margin: 0.5rem 0;
}

.contact-icon {
    width: 35px;
    height: 35px;
    margin-right: 0.75rem;
    background-size: contain;
    background-repeat: no-repeat;
}

.location-icon {
    background-image: url('icon/location-icon.png');
}

.phone-icon {
    background-image: url('icon/phone-icon.png');
}

.fax-icon {
    background-image: url('icon/fax-icon.png');
}

.email-icon {
    background-image: url('icon/email-icon.png');
}

.contact-item a {
    color: #007AFF;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Map Content */
.map-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* 確保 map-content 佔據可用寬度 */
}

.map-content iframe {
    width: 100%; /* 寬度適應容器 */
    max-width: 800px; /* 最大寬度為 800px */
    height: 400px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 每行 3 個方塊 */
    gap: 2rem;
    margin-top: 2rem;
}

.product-item {
    background: #E5E5E5; /* 灰色背景，模仿 picture1.jpg */
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    position: relative;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.product-item h2 {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin: 0;
    color: #333333;
}

/* 藍色底線，模仿 picture1.jpg */
.product-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(30, 82, 134); /* 藍色底線 */
    border-radius: 0 0 8px 8px;
}

.form-container {
    flex: 1;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    /*background: url('background.jpg') center/cover no-repeat;*/
    width: 100%;
    height: 100%; 
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    /*background: url('background.jpg') center/cover no-repeat;*/
    width: 100%;
}

/* Content Section */
.content-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    gap: 2rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 0;
    margin: 0;
    list-style: none;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    height: 100%;
    width: 10px;
    background: #193046; /* 藍色時間線 */
    opacity: 0.5;
}

.timeline-step {
    width: 60px;
    height: 60px;
    background: #1c4873; /* 藍色圓點 */
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    margin-right: 1.5rem;
    position: relative;
    z-index: 1;
}

.timeline-content {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333333;
    font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Arial, sans-serif;
}


/* Frosted Card with Image and Text */
.frosted-card, .frosted-card1 {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: stretch;
}

.card-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    align-items: center;
    width: 100%;
}

/* Frosted Card (Text Left, Image Right) */
.frosted-card .text-content {
    flex: 1 1 60%;
    padding-right: 1rem;
}

.frosted-card .image-content {
    flex: 1 1 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Frosted Card 1  */
/*.frosted-card1 .card-content {
    flex-direction: row;
}*/

.frosted-card1 .text-content {
    flex: 1 1 50%;
    padding-right: 1.5rem;
}

.frosted-card1 .image-content {
    flex: 1 1 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.side-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    object-fit: cover;
    /*max-height: 400px;*/
}

/* Footer */
footer {
    padding: 2rem 3rem; /* 恢復 padding */
    color: #ffffff;
    text-align: left;
    background-color: rgba(25, 48, 70);
    margin-top: auto; /* 確保 footer 貼在頁面底部 */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
    background-color: rgba(25, 48, 70);
}

.footer-logo {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-img {
    width: 200px;
    height: auto;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    font-size: 1rem;
    font-weight: 500;
    color: #333333;
    margin: 0;
}

.footer-info {
    flex: 2;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: #ffffff;
}

.footer-column {
    flex: 1;
    color: #ffffff;
}

.footer-column h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.footer-column p {
    font-size: 0.9rem;
    color: #ffffff;
    margin: 0.3rem 0;
}

.footer-column a {
    color: #007AFF;
    text-decoration: none;
}

.footer-column a:hover {
    text-decoration: underline;
}

.footer-divider {
    height: 5px;
    background-color: rgba(30, 82, 134);
    margin: 0px 0;
}

.footer-divider1 {
    height: 10px;
    background-color: rgba(25, 48, 70);
    margin: 0px;
}

.footer-divider2 {
    height: 5px;
    background-color: rgba(30, 82, 134);
    margin: 0px 0;
}

.footer-copyright {
    font-size: 0.8rem;
    color: #ffffff;
    text-align: center;
    margin: 0px;
    background-color: rgba(30, 82, 134);
    font-family: "Noto Sans TC", "Microsoft JhengHei", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Arial, sans-serif;
    padding: 0.5rem 0; /* 添加 padding 讓版權文字有呼吸空間 */
}

/* Responsive Design */

/* Large Desktop (1200px and below) */
@media (max-width: 1200px) {
    .banner {
        height: 320px; /* 稍微減小高度 */
    }

    .banner::before {
        background-position: center 30%; /* 稍微向上調整圖片位置 */
    }

    .banner::before {
        background: url('banner/banner21-mobile-1024.png') center/cover no-repeat;
    } 

    .banner-content {
        padding: 0 2.5rem;
    }

    .banner-content h2 {
        font-size: 28px;
    }

    .banner-content h2::after {
        bottom: -7px;
        height: 3px;
    }

    .product-grid {
        gap: 1.5rem;
    }

    .product-image {
        height: 200px;
    }

    .product-item h2 {
        font-size: 16px;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .footer-logo-img {
        width: 180px;
    }

    .footer-column h3 {
        font-size: 1rem;
    }

    .footer-column p {
        font-size: 0.85rem;
    }

    .map-content iframe {
        height: 380px; /* 稍微減小高度 */
    }
}

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    .navbar {
        padding: 1rem;
    }

    .logo {
        margin-left: 10%;
    }

    .logo-img {
        width: 300px;
        height: 60px;
    }

    .nav-links {
        gap: 1.5rem;
        margin-right: 10%;
    }

    .nav-links li a {
        font-size: 1.4rem;
    }

    .banner {
        height: 300px;
    }

    .banner::before {
        background-position: center 40%; /* 進一步調整圖片位置 */
    }

    .banner::before {
        background: url('banner/banner21-mobile-1024.png') center/cover no-repeat;
    }   

    .banner-content {
        padding: 0 2rem;
    }

    .banner-content h2 {
        font-size: 26px;
    }

    .banner-content h2::after {
        bottom: -6px;
        height: 2px;
        width: 80%;
    }

    .frosted-card, .frosted-card1 {
        max-width: 900px;
        padding: 1.5rem;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 20px;
    }

    .h2R, .h2B, .h2G {
        font-size: 22px;
    }

    .highlight3:before {
        top: 1.8rem;
    }

    .side-image {
        max-height: 350px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* 每行 2 個方塊 */
        gap: 1.5rem;
    }

    .product-image {
        height: 200px;
    }

    .product-item h2 {
        font-size: 15px;
    }

    .footer-content {
        flex-direction: column; /* 垂直堆疊 */
        align-items: center; /* 居中對齊 */
        text-align: center;
    }

    .footer-logo {
        align-items: center; /* 圖標居中 */
    }

    .footer-info {
        flex-direction: column; /* 垂直排列 footer-column */
        gap: 1.5rem;
    }

    .footer-column {
        text-align: center; /* 文字居中 */
    }

    .footer-logo-img {
        width: 160px;
    }

    .footer-column h3 {
        font-size: 0.95rem;
    }

    .footer-column p {
        font-size: 0.8rem;
    }

    .map-content iframe {
        max-width: 100%; /* 確保寬度適應容器 */
        height: 350px; /* 減小高度 */
    }
}

/* Small Tablet (600px and below) */
@media (max-width: 600px) {
    .banner {
        height: 250px;
    }

    .banner::before {
        background-position: center 50%; /* 調整圖片位置，確保重點區域可見 */
        opacity: 0.85; /* 稍微增加透明度 */
    }

    .banner::before {
        background: url('banner/banner21-mobile-600.png') center/cover no-repeat;
    }   

    .banner-content {
        padding: 0 1.5rem;
    }

    .banner-content h2 {
        font-size: 22px;
        font-weight: 500;
        line-height: 1.3;
    }

    .banner-content h2::after {
        bottom: -5px;
        height: 2px;
        width: 70%;
    }

    .product-grid {
        grid-template-columns: 1fr; /* 每行 1 個方塊 */
        gap: 1rem;
    }

    .product-image {
        height: 200px;
    }

    .product-item h2 {
        font-size: 14px;
    }

    .product-item {
        padding: 0.75rem;
    }

    footer {
        padding: 1.5rem 2rem; /* 減小 padding */
    }

    .footer-logo-img {
        width: 140px;
    }

    .footer-column h3 {
        font-size: 0.9rem;
    }

    .footer-column p {
        font-size: 0.75rem;
    }

    .footer-copyright {
        font-size: 0.7rem;
    }

    .map-content iframe {
        height: 300px; /* 進一步減小高度 */
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {

    .timeline::before {
        left: 10px; /* 保持時間線位置 */
    }

    .timeline-step {
        width: 50px;
        height: 50px;
        font-size: 0.8rem;
        margin-right: 1rem;
    }

    .timeline-content {
        font-size: 1rem;
    }

    .timeline-item {
        margin-bottom: 1.5rem;
    }

    .navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 1rem;
    }

    .logo {
        margin-left: 0;
    }

    .logo-img {
        width: 250px;
        height: 50px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1rem 0;
        margin: 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
        animation: slideIn 0.3s ease-in-out;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links li {
        text-align: center;
    }

    .nav-links li a {
        font-size: 1.2rem;
        padding: 0.5rem;
        display: block;
    }

    .banner {
        height: 250px;
    }

    .banner::before {
        background-position: center 50%;
        opacity: 0.85;
    }

    .banner::before {
        background: url('banner/banner21-mobile-600.png') center/cover no-repeat;
    }   

    .banner-content {
        padding: 0 1rem;
    }

    .banner-content h2 {
        font-size: 22px;
        font-weight: 500;
        line-height: 1.3;
    }

    .banner-content h2::after {
        bottom: -5px;
        height: 2px;
        width: 70%;
    }

    .main-content {
        padding: 1rem;
    }

    .content-section {
        gap: 1.5rem;
    }

    .frosted-card, .frosted-card1 {
        flex-direction: column;
        padding: 1rem;
        max-width: 100%;
    }

    .frosted-card .card-content, .frosted-card1 .card-content {
        flex-direction: column;
    }

    .frosted-card .text-content, .frosted-card1 .text-content {
        flex: 1 1 100%;
        padding-right: 0;
        padding-left: 0;
    }

    .frosted-card .image-content, .frosted-card1 .image-content {
        flex: 1 1 100%;
        justify-content: center;
        margin-top: 1rem;
    }

    .frosted-card1 .image-content {
        margin-top: 0;
        margin-bottom: 1rem;
    }

    .side-image {
        max-height: 250px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 18px;
    }

    .h2R, .h2B, .h2G {
        font-size: 20px;
    }

    .highlight3:before {
        top: 1.6rem;
    }

    .product-grid {
        grid-template-columns: 1fr; /* 每行 1 個方塊 */
        gap: 1rem;
    }

    .product-image {
        height: 200px;
    }

    .product-item h2 {
        font-size: 14px;
    }

    .product-item {
        padding: 0.75rem;
    }

    footer {
        padding: 1.5rem 1rem;
    }

    .footer-content {
        gap: 1rem;
    }

    .footer-logo-img {
        width: 140px;
    }

    .footer-column h3 {
        font-size: 0.9rem;
    }

    .footer-column p {
        font-size: 0.75rem;
    }

    .footer-copyright {
        font-size: 0.7rem;
    }

    .map-content {
        flex: 1 1 100%; /* 確保 map-content 在小型設備上佔據全部寬度 */
        margin-top: 1rem; /* 在垂直佈局時添加間距 */
    }

    .map-content iframe {
        height: 300px; /* 與 Small Tablet 保持一致 */
    }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {

    .timeline-step {
        width: 40px;
        height: 40px;
        font-size: 0.7rem;
        margin-right: 0.75rem;
    }

    .timeline-content {
        font-size: 0.9rem;
    }

    .timeline-item {
        margin-bottom: 1rem;
    }

    .logo-img {
        width: 200px;
        height: 40px;
    }

    .hamburger {
        width: 25px;
        height: 18px;
    }

    .nav-links li a {
        font-size: 1rem;
    }

    .banner {
        height: 200px;
    }

    .banner::before {
        background-position: center; /* 進一步調整圖片位置 */
        opacity: 0.9; /* 增加透明度以提升文字可讀性 */
    }

    .banner-content {
        padding: 0 0.75rem;
    }

    .banner-content h2 {
        font-size: 18px;
        font-weight: 400;
        line-height: 1.2;
    }

    .banner-content h2::after {
        bottom: -4px;
        height: 1px;
        width: 60%;
    }

    .banner::before {
        background: url('banner/banner21-mobile-320.png') center/cover no-repeat;
    }   

    .frosted-card, .frosted-card1 {
        padding: 0.75rem;
    }

    .side-image {
        max-height: 200px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 16px;
    }

    .h2R, .h2B, .h2G {
        font-size: 18px;
    }

    .highlight3:before {
        top: 1.4rem;
        height: 0.2em;
    }

    .divider {
        margin: 5px 0 10px;
    }

    .product-grid {
        gap: 0.75rem;
    }

    .product-image {
        height: 200px;
    }

    .product-item h2 {
        font-size: 13px;
    }

    .product-item {
        padding: 0.5rem;
    }

    footer {
        padding: 1rem 0.75rem;
    }

    .footer-logo-img {
        width: 120px;
    }

    .footer-column h3 {
        font-size: 0.85rem;
    }

    .footer-column p {
        font-size: 0.7rem;
    }

    .footer-copyright {
        font-size: 0.65rem;
    }

    .map-content iframe {
        height: 250px; /* 進一步減小高度 */
        border-radius: 4px; /* 減小圓角，使其更適合小螢幕 */
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1); /* 減小陰影 */
    }
}