﻿@charset "utf-8";
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Microsoft JhengHei', 'Arial', sans-serif;
            line-height: 1.6;
            overflow-x: hidden;
        }
        
        html {
            overflow-x: hidden;
        }

        /* 導航列樣式 */
        .navbar {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            position: sticky;
            top: 0;
            z-index: 1000;
            padding: 0;
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
        }

        /* Logo 區域 */
        .logo {
            color: white;
            font-size: 1.8rem;
            font-weight: bold;
            padding: 15px 0;
            text-decoration: none;
            display: flex;
            align-items: center;
            transition: transform 0.3s ease;
        }

        .logo:hover {
            transform: scale(1.05);
        }

        .logo-icon {
            margin-right: 10px;
            font-size: 2rem;
        }

        /* 主選單 */
        .nav-menu {
            display: flex;
            list-style: none;
            margin: 0;
        }

        .nav-item {
            position: relative;
        }

        .nav-link {
            color: white;
            text-decoration: none;
            padding: 25px 20px;
            display: flex;
            align-items: center;
            font-weight: 500;
            font-size: 1.05rem;
            transition: all 0.3s ease;
            border-bottom: 3px solid transparent;
        }

        .nav-link:hover {
            background: rgba(255, 255, 255, 0.1);
            border-bottom-color: #ffd700;
        }

        .nav-link.active {
            background: rgba(255, 255, 255, 0.15);
            border-bottom-color: #ffd700;
        }

        /* 下拉箭頭 */
        .arrow {
            margin-left: 5px;
            font-size: 0.7rem;
            transition: transform 0.3s ease;
        }

        .nav-item:hover .arrow {
            transform: rotate(180deg);
        }

        /* 下拉選單 */
        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            min-width: 200px;
            width: auto;
            white-space: nowrap;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            border-radius: 0 0 8px 8px;
            overflow: hidden;
            list-style: none;
        }

        .nav-item:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-menu li {
            list-style: none;
        }

        .dropdown-menu a {
            color: #333;
            text-decoration: none;
            padding: 12px 20px;
            display: block;
            transition: all 0.3s ease;
            border-left: 3px solid transparent;
            font-size: 0.95rem;
        }

        .dropdown-menu a:hover {
            background: linear-gradient(90deg, #f0f0ff 0%, #fff 100%);
            border-left-color: #667eea;
            padding-left: 25px;
        }

        /* 漢堡選單按鈕 (手機版) */
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
            padding: 10px;
            transition: transform 0.3s ease;
        }

        .menu-toggle:hover {
            transform: scale(1.1);
        }

        /* 手機版樣式 */
        @media (max-width: 992px) {
            .menu-toggle {
                display: block;
            }

            .nav-menu {
                position: fixed;
                left: -100%;
                top: 73px;
                flex-direction: column;
                background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
                width: 100%;
                text-align: left;
                transition: left 0.3s ease;
                box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
                max-height: calc(100vh - 73px);
                overflow-y: auto;
            }

            .nav-menu.active {
                left: 0;
            }

            .nav-item {
                width: 100%;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }

            .nav-link {
                padding: 18px 25px;
                justify-content: space-between;
            }

            .dropdown-menu {
                position: static;
                opacity: 1;
                visibility: visible;
                transform: none;
                box-shadow: none;
                background: rgba(0, 0, 0, 0.1);
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease;
            }

            .nav-item.show-dropdown .dropdown-menu {
                max-height: 500px;
            }

            .dropdown-menu a {
                color: white;
                padding: 12px 45px;
                font-size: 0.9rem;
            }

            .dropdown-menu a:hover {
                background: rgba(255, 255, 255, 0.1);
                border-left-color: #ffd700;
            }

            .arrow {
                transition: transform 0.3s ease;
            }

            .nav-item.show-dropdown > .nav-link .arrow {
                transform: rotate(180deg);
            }
        }

        /* 平板樣式 */
        @media (max-width: 1200px) and (min-width: 993px) {
            .nav-link {
                padding: 25px 15px;
                font-size: 0.95rem;
            }
        }

         /* ==================== Banner ==================== */
        .banner-section { width: 100%; overflow: hidden; }
        .banner-container { max-width: 100%; margin: 0 auto; position: relative; }
        .banner-responsive {
            width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
            animation: fadeIn 0.6s ease-in;
        }
        .banner-desktop { display: block; }
        .banner-tablet, .banner-mobile { display: none; }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

        /* ==================== 內容容器 ==================== */
        .content, .container-width {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .content { padding: 20px 20px; }


.content h1 {
  color: #666;
  font-size: calc(1.4rem + 0.5rem);
  position: relative;
  display: block;
  margin-top: 30px; 
  margin-bottom: 20px; 
  line-height: 1.8;
  text-align: center; /* 文字置中 */
}


/* 行動裝置樣式 */
@media (max-width: 992px) {
  .content h1 {
    margin-left: 20px;
    margin-right: 20px;
    margin-top: -6px; 
  }
}

@media (min-width: 600px) and (max-width: 1200px) {
  .content h1 {
    font-size: calc(1.4rem + 0.5rem + (1.5 - 1.4) * ((100vw - 600px) / 600));
  }
}
 
@media (min-width: 1200px) {
  .content h1 {
    font-size: calc(1.5rem + 0.5rem);
  }
}




        /* ==================== Hero ==================== */
        .hero {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 80px 30px;
            text-align: center;
            border-radius: 12px;
            margin-bottom: 60px;
            box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
        }
        .hero h1 {
            font-size: 2.8rem;
            margin-bottom: 20px;
            font-weight: 700;
            letter-spacing: 1px;
        }
        .hero p { font-size: 1.3rem; opacity: 0.95; line-height: 1.8; }

        /* ==================== 在地特色 ==================== */
        .local-expertise { margin: 60px 0; }
        .section-intro { text-align: center; margin-bottom: 50px; }
        .section-intro h2 {
            font-size: 2.2rem;
            color: #333;
            margin-bottom: 15px;
            font-weight: 700;
        }
        .section-intro .subtitle {
            font-size: 1.1rem;
            color: #666;
            line-height: 1.8;
        }
        .expertise-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
            margin-top: 40px;
        }
        .expertise-card {
            background: white;
            border-radius: 12px;
            padding: 40px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            border-left: 5px solid #667eea;
        }
        .expertise-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
        }
        .expertise-card h3 {
            font-size: 1.5rem;
            color: #667eea;
            margin-bottom: 20px;
            font-weight: 600;
        }
        .expertise-card p {
            font-size: 1.05rem;
            color: #555;
            line-height: 1.9;
        }

        /* ==================== 服務按鈕 ==================== */
        .btn_pshow {
            text-align: center;
            margin: 60px 0 40px;
        }
        .btn_pshow span {
            display: inline-block;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 15px 50px;
            font-size: 1.5rem;
            font-weight: 700;
            border-radius: 50px;
            box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
            transition: all 0.3s ease;
        }
        .btn_pshow span:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        }

        /* ==================== 服務卡片 ==================== */
        .container_pic { width: 100%; }
        .excerpts-wrapper { width: 100%; }
        .excerpts {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-bottom: 60px;
        }
        .excerpt {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
        }
        .excerpt:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
        }
        .excerpt .thumb {
            width: 100%;
            height: 250px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .excerpt:hover .thumb { transform: scale(1.1); }
        .post_product_pic {
            padding: 25px;
            text-align: center;
        }
        .post_product_pic h2 {
            font-size: 1.4rem;
            color: #333;
            margin-bottom: 10px;
            font-weight: 600;
        }
        .post_product_pic span {
            display: block;
            font-size: 1rem;
            color: #666;
            margin-bottom: 20px;
        }
        .learn-more-btn {
            display: inline-block;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 10px 30px;
            border-radius: 25px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
        }
        .learn-more-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
        }

        /* ==================== 聯絡表單 + 右側圖文（已修正） ==================== */
        .form-section-wrapper {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 40px;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            padding: 60px 0;
            border-radius: 12px;
            margin: 60px 0;
        }
        .form-container {
            flex: 0 0 600px;
            background: white;
            padding: 50px;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            margin: 0;
        }
        .form-side-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            min-width: 300px;
        }
        .side-image {
            width: 100%;
            max-width: 480px;
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
            margin-bottom: 25px;
            object-fit: cover;
        }
        .side-text {
            color: #333;
        }
        .side-text h3 {
            font-size: 1.6rem;
            color: #003E3E;
            margin-bottom: 20px;
            font-weight: 700;
        }
        .side-text ul {
            list-style: none;
            padding: 0;
        }
        .side-text li {
            font-size: 1.05rem;
            margin-bottom: 14px;
            padding-left: 28px;
            position: relative;
            line-height: 1.7;
            color: #444;
        }
        .side-text li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #667eea;
            font-weight: bold;
            font-size: 1.1rem;
        }

        /* ==================== 表單內部 ==================== */
        #service {
            font-size: 2.5rem;
            color: #003E3E;
            margin-bottom: 20px;
            font-weight: 700;
            scroll-margin-top: 30px;
        }
        .form-container p {
            font-size: 1.1rem;
            color: #666;
            margin-bottom: 15px;
            line-height: 1.8;
        }
        .form-group {
            margin-bottom: 25px;
        }
        .form-group label {
            display: block;
            font-size: 1.1rem;
            color: #333;
            margin-bottom: 8px;
            font-weight: 500;
            padding-left: 6px;   /* 這裡加入！ */
        }
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 15px;
            font-size: 1rem;
            border: 2px solid #ddd;
            border-radius: 8px;
            transition: all 0.3s ease;
            font-family: 'Microsoft JhengHei', 'Arial', sans-serif;
        }
        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }
        .form-group textarea {
            resize: vertical;
            min-height: 120px;
        }
        .submit-btn {
            width: 100%;
            padding: 15px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            font-size: 1.2rem;
            font-weight: 600;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
        }
        .required {
            color: #e74c3c;
            font-weight: bold;
            margin-left: 2px;
        }
        .form-note {
            font-size: 0.85rem;
            color: #888;
            text-align: center;
            margin-top: 15px;
            line-height: 1.5;
        }

        /* ==================== Google Maps 區塊 ==================== */
        .maps-section {
            margin: 60px 0;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        }
        .maps-container {
            height: 400px;
            width: 100%;
        }
        #google-map {
            width: 100%;
            height: 100%;
        }

        /* ==================== 響應式：大螢幕靠左 + 右側內容 ==================== */
        @media (min-width: 1200px) {
            .container-width > .form-section-wrapper {
                padding-left: 0;
                padding-right: 40px;
            }
        }

        @media (max-width: 1199px) {
            .form-section-wrapper {
                flex-direction: column;
                padding: 40px 20px;
                align-items: center;
            }
            .form-container {
                flex: none;
                width: 100%;
                max-width: 600px;
                margin: 0 auto;
            }
            .form-side-content {
                margin-top: 40px;
                text-align: center;
                align-items: center;
            }
            .side-image {
                max-width: 100%;
            }
            .side-text li {
                padding-left: 0;
                text-align: left;
                display: inline-block;
            }
            .side-text li::before { left: 0; }
        }

        @media (max-width: 768px) {
            .hero h1 { font-size: 1.8rem; }
            .hero p { font-size: 1rem; }
            .excerpts, .expertise-grid { grid-template-columns: 1fr; }
            .form-container { padding: 30px 20px; }
            .form-group input, .form-group textarea {
                font-size: 0.95rem;
                padding: 12px;
            }
            .submit-btn { font-size: 1.1rem; padding: 14px; }
            #service { font-size: 2rem; }
            .side-text h3 { font-size: 1.4rem; }
            .side-text li { font-size: 1rem; }
            .maps-container { height: 300px; }
        }

        /* ==================== 其他響應式 ==================== */
        @media (max-width: 992px) {
            .menu-toggle { display: block; }
            .nav-menu {
                position: fixed;
                left: -100%;
                top: 73px;
                flex-direction: column;
                background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
                width: 100%;
                transition: left 0.3s ease;
                box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
                max-height: calc(100vh - 73px);
                overflow-y: auto;
            }
            .nav-menu.active { left: 0; }
            .nav-link { padding: 18px 25px; justify-content: space-between; }
            .dropdown-menu {
                position: static;
                opacity: 1;
                visibility: visible;
                transform: none;
                box-shadow: none;
                background: rgba(0, 0, 0, 0.1);
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease;
            }
            .nav-item.show-dropdown .dropdown-menu { max-height: 500px; }
            .dropdown-menu a { color: white; padding: 12px 45px; }
        }

        @media (min-width: 577px) and (max-width: 992px) {
            .banner-desktop { display: none; }
            .banner-tablet { display: block; }
            .excerpts { grid-template-columns: repeat(2, 1fr); }
            .expertise-grid { grid-template-columns: 1fr; }
        }

        @media (max-width: 576px) {
            .banner-desktop, .banner-tablet { display: none; }
            .banner-mobile { display: block; }
        }

        @media (min-width: 769px) {
            .mobile-toolbar { display: none !important; }
        }


/* 數字計數器樣式 */
.timer {
  font-size: 1.5em;
  font-weight: bold;
  color: #2c3e50;
  display: inline-block;
  min-width: 100px;
  text-align: center;
}

/* 服務區域文字樣式 -  */
.service_txt {
  background: 
    linear-gradient(135deg, rgba(248, 249, 250, 0.9) 0%, rgba(233, 236, 239, 0.9) 100%),
    url('your-background-image.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  height: 300px; /* 設置固定高度 */
  display: flex;
  align-items: center; /* 垂直居中 */
  justify-content: center; /* 水平居中 */
}

.service_txt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #2c3e50);
}

.service_txt_content {
  font-size: 1.8rem;
  color: #2c3e50;
  font-weight: 600;
  line-height: 1.4;
  text-align: center; /* 確保文字居中 */
  margin: 0; /* 移除預設邊距 */
  padding: 0; /* 移除内邊距 */
}

.service_txt_content2 {
  font-size: 1.4rem;
  color: #7f8c8d;
  font-weight: 500;
  line-height: 1.4;
  text-align: center; /* 確保文字居中 */
  margin: 0; /* 移除預設邊距 */
  padding: 0; /* 移除內邊距 */
}

.service_txt_content2 span {
  color: #e74c3c;
  font-weight: 700;
  position: relative;
}

.service_txt_content2 span::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e74c3c, transparent);
  opacity: 0.7;
}

/* 調整容器佈局 */
.service_txt .container-fluid {
  height: 100%;
}

.service_txt .row {
  height: 100%;
  margin: 0;
}

.service_txt .col-md-12 {
  display: flex;
  flex-direction: column;
  justify-content: center; /* 垂直居中 */
  align-items: center; /* 水平居中 */
  height: 100%;
  padding: 0; /* 移除内邊距 */
}

/* 響應式設計*/
@media (max-width: 768px) {
  .service_txt {
    height: 220px; /* 在移動設備上稍微增加高度 */
  }
  
  .service_txt_content {
    font-size: 1.4rem;
  }
  
  .service_txt_content2 {
    font-size: 1.1rem;
  }
  
  .timer {
    font-size: 1.3em;
    min-width: 80px;
  }
}

@media (max-width: 576px) {
  .service_txt {
    height: 220px; /* 在小屏幕上再增加一點高度 */
  }
  
  .service_txt_content {
    font-size: 1.2rem;
  }
  
  .service_txt_content2 {
    font-size: 1rem;
  }
  
  .timer {
    font-size: 1.1em;
    min-width: 70px;
  }
}

/* 動畫增强 */
.timer {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* 加載狀態 */
.timer:empty::before {
  content: '0';
  opacity: 0.5;
}

/* ==================== 拜訪我們 + 地圖區塊 ==================== */
.container-map-mail {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 40px;
    margin: 60px 0;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-info-map-mail {
    flex: 0 0 38%;
    padding: 40px 35px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-map-mail h2 {
    font-size: 1.8rem;
    color: #003E3E;
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.contact-info-map-mail h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.contact-info-map-mail p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 18px;
    line-height: 1.7;
    padding-left: 35px;
    position: relative;
}

/* 圖標樣式 */
.contact-info-map-mail .address-item::before {
    content: '🏢';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
}

.contact-info-map-mail .phone-item::before {
    content: '📞';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
}

.contact-info-map-mail .email-item::before {
    content: '✉️';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
}

.contact-info-map-mail .time-item::before {
    content: '🕒';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
}

.contact-info-map-mail .address-item {
    font-weight: 500;
    color: #2c3e50;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.contact-info-map-mail .address-item:last-of-type {
    border-bottom: none;
    margin-bottom: 25px;
}

.contact-info-map-mail a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-info-map-mail a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* 特殊項目樣式 */
.contact-info-map-mail .free-phone {
    background: rgba(46, 204, 113, 0.1);
    padding: 15px 20px 15px 45px;
    border-radius: 8px;
    border-left: 4px solid #2ecc71;
    margin: 10px 0;
}

.contact-info-map-mail .working-hours {
    background: rgba(102, 126, 234, 0.1);
    padding: 20px 20px 20px 45px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    margin-top: 20px;
    font-weight: 500;
}

/* 特殊項目的圖標位置調整 */
.contact-info-map-mail .free-phone.phone-item::before {
    left: 20px !important;
}

.contact-info-map-mail .working-hours.time-item::before {
    left: 20px !important;
    top: 20px !important;
    transform: translateY(0) !important;
}

/* 電話號碼特殊樣式 */
.contact-info-map-mail a[href^="tel:"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3rem;
    letter-spacing: 1px;
    display: inline-block;
    padding: 5px 0;
}

.map-mail {
    flex: 0 0 58%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    min-height: 450px;
}

.map-mail iframe {
    display: block;
    border: none;
    width: 100%;
    height: 100%;
    min-height: 450px;
    transition: transform 0.3s ease;
}

.map-mail:hover iframe {
    transform: scale(1.02);
}

/* 響應式設計 - 重點修改聯絡資訊部分 */
@media (max-width: 992px) {
    .container-map-mail {
        flex-direction: column;
        padding: 30px 20px;
        gap: 30px;
    }
    
    .contact-info-map-mail,
    .map-mail {
        flex: none;
        width: 100%;
    }
    
    .contact-info-map-mail {
        text-align: center;
        padding: 30px 25px;
    }
    
    /* 重點修改：讓每個聯絡項目在小螢幕時單獨一行 */
    .contact-info-map-mail p {
        padding-left: 0;
        text-align: center;
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    
    /* 在小螢幕時移除圖標的絕對定位 */
    .contact-info-map-mail p::before {
        display: none;
    }
    
    /* 為每個項目添加新的圖標顯示方式 */
    .contact-info-map-mail .address-item,
    .contact-info-map-mail .phone-item,
    .contact-info-map-mail .email-item,
    .contact-info-map-mail .time-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px 0;
    }
    
    /* 特殊項目的移動端調整 */
    .contact-info-map-mail .free-phone,
    .contact-info-map-mail .working-hours {
        padding: 15px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* 為每個項目添加標題和圖標 */
    .contact-info-map-mail .address-item::after {
        content: '🏢 地址';
        font-size: 1rem;
        margin-bottom: 8px;
        font-weight: 600;
        color: #667eea;
    }
    
    .contact-info-map-mail .phone-item::after {
        content: '📞 免付費專線';
        font-size: 1rem;
        margin-bottom: 8px;
        font-weight: 600;
        color: #2ecc71;
    }
    
    .contact-info-map-mail .email-item::after {
        content: '✉️ 電子郵件';
        font-size: 1rem;
        margin-bottom: 8px;
        font-weight: 600;
        color: #667eea;
    }
    
    .contact-info-map-mail .time-item::after {
        content: '🕒 服務時間';
        font-size: 1rem;
        margin-bottom: 8px;
        font-weight: 600;
        color: #667eea;
    }
}

@media (max-width: 768px) {
    .container-map-mail {
        margin: 40px 0;
        padding: 25px 15px;
    }
    
    .contact-info-map-mail {
        padding: 25px 20px;
    }
    
    .contact-info-map-mail h2 {
        font-size: 1.6rem;
    }
    
    .contact-info-map-mail p {
        font-size: 1rem;
    }
    
    .contact-info-map-mail a {
        font-size: 1.1rem;
    }
    
    .map-mail,
    .map-mail iframe {
        min-height: 350px;
    }

    .contact-info-map-mail .free-phone,
    .contact-info-map-mail .working-hours {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .contact-info-map-mail {
        padding: 20px 15px;
    }
    
    .contact-info-map-mail h2 {
        font-size: 1.4rem;
    }
    
    .contact-info-map-mail p {
        font-size: 0.95rem;
    }
    
    .map-mail,
    .map-mail iframe {
        min-height: 300px;
    }
    
    .contact-info-map-mail a[href^="tel:"] {
        font-size: 1.1rem;
    }

    .contact-info-map-mail .free-phone,
    .contact-info-map-mail .working-hours {
        padding: 12px 15px;
    }
}

/* 頁尾樣式 */
.footer-nav {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 50px 0 20px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ecf0f1;
    display: flex;
    align-items: center;
}

.footer-column .icon {
    margin-right: 10px;
    font-size: 1.4rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: #95a5a6;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.footer-bottom-links a {
    color: #95a5a6;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #3498db;
}

/* 頁尾響應式 */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-nav {
        padding: 30px 0 15px;
    }
}

/* 底部設計 */
.footer_foot_design {
    background: #2c3e50;
    padding: 15px 0;
    border-top: 1px solid #34495e;
}

.copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: #95a5a6;
    font-size: 0.85rem;
}

.copyright .tel {
    color: #ecf0f1;
}

.copyright .webdesign a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright .webdesign a:hover {
    color: #2980b9;
}

.separator {
    color: #7f8c8d;
    margin: 0 5px;
}

/* 觸控導航 */
.touch-navigation {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.body_footer ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
    margin: 0;
    padding: 10px 0;
}

.body_footer li {
    flex: 1;
    text-align: center;
}

.body_footer a {
    text-decoration: none;
    color: #666;
    display: block;
    padding: 8px 0;
}

.body_footer img {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
}

.body_footer dd {
    font-size: 0.8rem;
    margin: 0;
}

@media (min-width: 769px) {
    .touch-navigation {
        display: none;
    }
}