/* ---------------- 全局文字設定 ---------------- */
.text-tool {
    font-family: 'GlowSansTC-Normal-ExtraLight', sans-serif !important;
    font-stretch: condensed; /* 如果字型支援 */
    transform: scaleX(0.9);  /* 壓縮文字寬度 */
}

/* ---------------- 表單樣式 (Contact Form 7) ---------------- */
#form-id label {
    color: #FFFFFF;
}

.wpcf7-form label,
.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
    letter-spacing: 1px;
    font-family: 'GlowSansTC-Normal-ExtraLight', sans-serif;
}

#wpcf7-f1234-p5678-o1 input,
#wpcf7-f1234-p5678-o1 textarea {
    color: #000000 !important;
    background-color: #ffffff !important;
}

.wpcf7-form label {
    margin-bottom: 5px;
    font-weight: bold;
}

.wpcf7-form input, 
.wpcf7-form textarea, 
.wpcf7-form select, 
.wpcf7-form button {
    margin-bottom: 10px;
    width: 100% !important;
    box-sizing: border-box;
}

.wpcf7-form input[name="text-800"],
.wpcf7-form textarea[name="text-800"] {
    border-radius: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    height: 160px;
}

input, textarea {
    border-radius: 10px !important;
}

/* 表單送出按鈕 */
.wpcf7-submit {
    background-color: #3C53DD !important;
    color: white !important;
    border: none;
    padding: 10px 20px;
    border-radius: 20px !important;
    cursor: pointer;
    width: 30% !important;
}

.wpcf7-submit:hover {
    background-color: white !important;
    color: #3C53DD !important;
    border: 1px solid #3C53DD;
}

/* RWD 表單 */
@media (max-width: 768px) {
    .wpcf7-form input,
    .wpcf7-form textarea,
    .wpcf7-form select {
        width: 100% !important;
    }
}

/* 下拉式選單 */
select {
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    background-color: #3C53DD;
    padding: 5px;
    border-radius: 10px;
    font-size: 16px;
}

select:focus {
    outline: none;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    background-color: #3C53DD;
}

/* ---------------- 自製下拉選單 ---------------- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%; /* 顯示在按鈕正下方 */
    left: 0;
    background-color: rgba(255, 255, 255, 0.8);
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* 精選案例按鈕 (隱藏文字, 用SVG背景) */
#my-button {
    color: transparent;
    background-color: transparent;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
}

/* 如果要指定 SVG 按鈕 */
.svg-button {
    background-image: url('your-image.svg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 100px;
    height: 100px;
    border: none;
}

/* ---------------- Elementor Tabs 樣式 ---------------- */
.elementor-tab-title {
    background-color: #3C53DD;
    color: #fff;
    border-radius: 20px;
    padding: 10px 20px;
    font-family: 'GlowSansTC-Normal-ExtraLight', sans-serif;
    cursor: pointer;
    display: inline-block;
    margin: 5px;
}

/* Hover 僅作用於非 active */
.elementor-tab-title:not(.elementor-active):hover {
    background-color: white;
    color: #3C53DD;
    border: 1px solid #3C53DD;
}

/* Active 樣式 */
.elementor-tab-title.elementor-active {
    background-color: #3C53DD;
    color: white;
    border: none;
}
iframe[src*="facebook.com"] {
  display: block;
  margin: 0 auto;
}

