.progressbar {
    counter-reset: step;
}
.form-go{position:absolute; top:0; left:0; opacity:0;display:none;}
.progressbar li {
    list-style-type: none;
    width: 14%;
    float: left;
    font-size: 12px;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    color: #7d7d7d;
}
.progressbar li:before {
    width: 30px;
    height: 30px;
    content: counter(step);
    counter-increment: step;
    line-height: 30px;
    border: 2px solid #7d7d7d;
    display: block;
    text-align: center;
    margin: 0 auto 10px auto;
    border-radius: 50%;
    background-color: white;
}
.progressbar li:after {
    width: 100%;
    height: 2px;
    content: '';
    position: absolute;
    background-color: #7d7d7d;
    top: 15px;
    left: -50%;
    z-index: -1;
}
.progressbar li:first-child:after {
    content: none;
}
.progressbar li.active {
    color: green;
}
.progressbar li.active:before {
    border-color: #55b776;
}
.progressbar li.active + li:after {
    background-color: #55b776;
}   
.bs-wizard {margin-top: 40px;}

/*Form Wizard*/
.bs-wizard {border-bottom: solid 1px #e0e0e0; padding: 0 0 10px 0;}
.bs-wizard > .bs-wizard-step {padding: 0; position: relative; padding-bottom:20px;}
.bs-wizard > .bs-wizard-step + .bs-wizard-step {}
.bs-wizard > .bs-wizard-step .bs-wizard-stepnum {color: #595959; font-size: 16px; margin-bottom: 5px;}
.bs-wizard > .bs-wizard-step .bs-wizard-info {color: #fff; font-size: 14px;}
.bs-wizard > .bs-wizard-step > .bs-wizard-dot {position: absolute; width: 20px; height: 20px; display: block; background: #fff; top: 105px; left: 50%; margin-top: -10px; margin-left: -10px; border-radius: 50%;} 
.bs-wizard > .bs-wizard-step > .bs-wizard-dot:after {content: ' '; width: 14px; height: 14px; background: #e26a1c; border-radius: 50px; position: absolute; top: 3px; left: 3px; } 
.bs-wizard > .bs-wizard-step > .progress {position: relative; border-radius: 0px; height: 2px; box-shadow: none; margin: 24px 0;}
.bs-wizard > .bs-wizard-step > .progress > .progress-bar {width:0px; box-shadow: none; background: #fff;}
.bs-wizard > .bs-wizard-step.complete > .progress > .progress-bar {width:100%;}
.bs-wizard > .bs-wizard-step.active > .progress > .progress-bar {width:50%;}
.bs-wizard > .bs-wizard-step:first-child.active > .progress > .progress-bar {width:0%;}
.bs-wizard > .bs-wizard-step:last-child.active > .progress > .progress-bar {width: 100%;}
.bs-wizard > .bs-wizard-step.disabled > .bs-wizard-dot {background-color: #f5f5f5;}
.bs-wizard > .bs-wizard-step.disabled > .bs-wizard-dot:after {opacity: 0;}
.bs-wizard > .bs-wizard-step:first-child  > .progress {left: 50%; width: 50%;}
.bs-wizard > .bs-wizard-step:last-child  > .progress {width: 50%;}
.bs-wizard > .bs-wizard-step.disabled a.bs-wizard-dot{ pointer-events: none; }
.bs-wizard-info h4{font-weight:bold; font-size:28px; color:#fff;}
/*END Form Wizard*/  

/* FAQ Accordion Styles */
#faqAccordion .card {
    border: none;
    margin-bottom: 10px;
    background-color: transparent;
}

#faqAccordion .card-header {
    background-color: #f8f9fa;
    border: none;
    padding: 0;
}

#faqAccordion .btn-link {
    color: var(--theme-color);
}

#faqAccordion .btn-link:hover,
#faqAccordion .btn-link:focus {
    background-color: rgba(24, 60, 152, 0.1);  /* 使用主題顏色的淡化版本 */
}

#faqAccordion .btn-link::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

#faqAccordion .btn-link[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(180deg);
}

#faqAccordion .card-body {
    padding: 15px 20px;
    background-color: #fff;
    border-top: 1px solid #e9ecef;
}

/* 調整其他元素的顏色 */
.tm-section-title h2 {
    color: var(--theme-color);
}

.tm-button {
    background-color: var(--theme-color);
}

.tm-button:hover {
    background-color: var(--theme-color-2);
}

/* SEO 優化特性樣式 */
.tm-seo-feature {
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.tm-seo-feature:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.tm-seo-feature i {
    font-size: 40px;
    color: #183c98;
    margin-bottom: 20px;
}

.tm-seo-feature h5 {
    margin-bottom: 15px;
    color: #333;
}

.tm-seo-feature p {
    color: #666;
}

/* ISO認證區域樣式 */
.iso-certification-content h2 {
    margin-bottom: 20px;
    color: #183c98;
}

.iso-certification-content p {
    margin-bottom: 20px;
}

.iso-certification-content .stylish-list {
    margin-bottom: 30px;
}

.iso-certification-content .stylish-list li {
    margin-bottom: 10px;
}

.iso-certification-content .stylish-list i {
    color: #183c98;
    margin-right: 10px;
}

.iso-certification-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media only screen and (max-width: 991px) {
    .iso-certification-image {
        margin-top: 30px;
    }
}

.iso-certification-area {
    position: relative;
    overflow: hidden;
}

.iso-bg-icon-left, .iso-bg-icon-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    opacity: 0.1;
    z-index: 0;
    background-image: linear-gradient(45deg, #6392c0 25%, transparent 25%),
                      linear-gradient(-45deg, #6392c0 25%, transparent 25%),
                      linear-gradient(45deg, transparent 75%, #6392c0 75%),
                      linear-gradient(-45deg, transparent 75%, #6392c0 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    clip-path: polygon(0 25%, 50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%);
}

.iso-bg-icon-left {
    left: -150px;
}

.iso-bg-icon-right {
    right: -150px;
}

.iso-certification-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, #f1f1f1 25%, transparent 25%), 
        linear-gradient(-45deg, #f1f1f1 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #f1f1f1 75%),
        linear-gradient(-45deg, transparent 75%, #f1f1f1 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.3;
    z-index: -1;
}

.iso-certification-content,
.iso-certification-image {
    position: relative;
    z-index: 1;
}
