h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Helvetica", "Arial", "LiHei Pro", "黑體-繁", "微軟正黑體", sans-serif;
}

a {
    color: #333;
}

/*====================================*/
/*  橘色
/*====================================*/
.text-org-fd5d14 {
    color: #fd5d14;
}

.bg--org-fd5d14 {
    color: #fd5d14;
}

.main-menu .navigation>li>ul>li:hover>a {
    background-color: #fd5d14;
    color: #fff;
}

.video-section .owl-prev, .video-section .owl-next{
    background-color: #fff;
}

/*====================================*/
/*  box-img
/*====================================*/
.content img {
    height: unset !important;
}

/*box-img 1x1*/
.box-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* 保持正方形比例 */
    overflow: hidden;
}

.box-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 讓圖片填滿且裁切保持比例 */
    top: 0;
    left: 0;
    transition: transform 0.3s ease;
    /* 平滑過渡動畫 */
}

.gallery-item-three:hover .box-img img {
    transform: scale(1.05);
    /* 或其他你想要的滑入效果 */
}

/*box-img 16x9*/
.box-img-16-9 {
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.box-img-16-9 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*box-img 5x4*/
.box-img-5-4 {
    overflow: hidden;
    width: 100%;
    padding-top: calc(4 / 5 * 100%);
    position: relative;
}

.box-img-5-4 img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*box-img 4x5 直式*/
.box-img-4-5 {
    overflow: hidden;
    width: 100%;
    padding-top: calc(5 / 4 * 100%);
    position: relative;
}

.box-img-4-5 img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/*====================================*/
/*  Header Top
/*====================================*/

a.theme-btn.btn-style-four .fa-phone {
    color: #fd5d14;
    background-color: transparent;
}

.btn-style-four:hover,
.btn-style-four:hover i {
    color: #fff !important;
    border-color: #fff;
    background: #fd5d14;
}

.header-style-two .header-top,
.header-style-seven .header-top {
    background-color: #030d28;
    /*藍色底*/
}

.header-style-two .header-top .top-left .links li a {
    color: #fff;
}

.header-style-two .header-top .top-left .links li a i.fa.fa-phone {
    color: #fd5d14;
}

.main-header .header-top .top-left .links li a:hover,
.header-style-two .header-top .top-left .links li a .icon {
    color: #fd5d14;
    /*橘色*/
}

.btn-style-one:hover {
    color: #fd5d14 !important;
    border-color: #fd5d14 !important;
    background: #fff;
}

/*====================================*/
/*  banner
/*====================================*/

.carousel-caption h2,
.carousel-caption p,
.carousel-caption a {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.carousel .item.active .carousel-caption h2 {
    animation-delay: 0.5s;
    color: #fd5d14;
    line-height: 4rem;
    font-size: 3rem;
    font-weight: 600;

}

.carousel .item.active .carousel-caption p {
    animation-delay: 1s;
    font-size: 2rem;
    font-weight: 400;
    color: #000;
    width: 600px;
}

.carousel .item.active .carousel-caption a {
    animation-delay: 1.5s;
}

.btns-box .btn-style-one {
    background: #fff;
    border: none;
    color: #000;
    text-shadow: none;
    border-radius: 50px;
}

.btns-box .btn-style-one:hover {
    color: #fd5d14 !important;
    border-color: #fd5d14 !important;
    background: #fff;
    border: 2px solid #fff;

}

.btns-box .icon.fa.fa-phone {
    color: #fd5d14;
    font-size: 2rem;
    padding-right: 5px;
    font-weight: 600;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel .carousel-caption {
    text-align: left;
    left: 20%;
    top: 30%;
    right: auto;

}

.btn-style-one {
    background: #337ab7;
    color: #fff;
    padding: 10px 20px;
    display: inline-block;
    border-radius: 4px;
    text-decoration: none;
}

.btn-style-one:hover {
    background: #286090;
    color: #fff;
}



/*====================================*/
/*  Main Box
/*====================================*/

.main-header .sticky-header .main-menu .navigation>li>a {
    color: #fff;
}

.main-header .sticky-header .main-menu .navigation>li>a:hover,
.main-header .sticky-header .main-menu .navigation>li.current>a {
    color: #fd5d14;
}

.sticky-header {
    background: #030d28;
    /*藍色底*/
}

.main-header .header-top .top-left {
    display: block !important;
}

.header-top .auto-container {
    padding: 0px 30px;
}

/*====================================*/
/*  Main Slider
/*====================================*/

.main-slider h2 {
    color: #fd5d14;
    line-height: 4rem;
    font-size: 3rem;
}

.main-slider .text {
    font-size: 2rem;
    font-weight: 400;
    color: #000;
}

.main-slider .btns-box .theme-btn {
    color: #000;
    font-size: 1.8rem !important;
}

.main-slider .btn-style-one {
    background: #fff;
    border: 2px solid #fff;
}

.main-slider span.fa-phone:before {
    color: #fd5d14;
    font-size: 2rem;
    padding-right: 5px;
    font-weight: 600;
}

.caption-wrapper {
    display: table;
    height: 100%;
    width: 100%;
}

.caption-wrapper>* {
    display: table-row;
    vertical-align: middle;
    text-align: left;
}



/*====================================*/
/*  Company Section
/*====================================*/

.company-section .inner-container {
    background-color: #030d28;
    padding: 20px 30px;
}

.inner-container div.pull-text {
    display: inline-flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.company-section .inner-container h2 {
    color: #fff;
    font-size: 2rem;
}

.company-section span.fa-phone:before,
.number-box span.fa-phone:before {
    color: #fd5d14;
    font-size: 2rem;
    padding-right: 5px;
    font-weight: 600;
}

/*====================================*/
/*  Video Section
/*====================================*/

.inner-column span {
    font-weight: 400;
}

.list-style-two li:before {
    color: #fd5d14;
}

.service-block-two .inner-box .text {
    text-align: left;
}

.video-section .content-column h2 {
    font-size: 2.5rem;
}

.video-section .owl-prev:hover,
.video-section .owl-next:hover {
    color: #fd5d14;
    border-color: #fd5d14;
}

.video-section .content-column .text {
    color: #333;
    font-size: 1.6rem;
}

.service-block-two .flip-container .back {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
}

.service-block-two .back {
    background: #030d28;
}

.service-block-two .inner-box .icon-box .icon img {
    height: 90px;
}

.sec-title {
    padding-bottom: 20px;
}

.sec-title h2:after {
    background-color: #fd5d14;
}

.content-column .inner-column li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000;
    font-size: 1.8rem;
    padding-bottom: 10px;
}

/*====================================*/
/*  Services Block Two
/*====================================*/

.gallery-item-three .overlay-box {
    background: #fd5d14;
}

.gallery-item-three .inner-box .designation {
    font-size: 1.8rem;
    font-style: unset;
    width: 30ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    display: block;
    margin: 0 auto;
    padding-top: 10px;
}

.gallery-item-three .overlay-inner .link:hover {
    background: #fff;
}

.gallery-item-three.style-two .inner-box h3 a {
    color: #000;
    font-size: 2rem;
    font-weight: 600;
}

/*====================================*/
/*  Call To Action Section Two
/*====================================*/
.call-to-action-section-two:before {
    display: none;
}

.call-to-action-section-two h2 {
    color: #fd5d14;
    font-size: 3rem;
}

.text-white {
    color: #fff !important;
}

.sec-title h2 {
    font-size: 2.8rem;
}

.sec-title .title {
    font-size: 1.8rem;
    font-style: normal;
}

.news-section .sidebar-news:before {
    background-color: #030d28;
}

.news-block-two .inner-box h3 {
    color: #fff;
}

.news-block .inner-box .lower-box .read-more:hover,
.news-block-two .inner-box h3 a:hover,
.news-block .inner-box .lower-box h3 a:hover {
    color: #fd5d14;
}


.project-sectio-two.style-two .project-tab .p-tab-btn.active-btn,
.project-sectio-two.style-two .project-tab .p-tab-btn:hover {
    color: #fd5d14;
}

/*====================================*/
/*  About Us
/*====================================*/

.page-title .page-breadcrumb li a {
    color: #030d28;
}

.approach-section .content-column .inner-column p {
    color: #333;
    font-size: 1.8rem;
}

.auto-container .inner-column li {
    display: flex;
    align-items: center;
    color: #030d28;
    font-size: 1.8rem;
    padding-bottom: 10px;
}

.news-block-three .inner-box .lower-content .upper-box .posted-date {
    color: #333;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 5px;
}

.approach-section .image-column .image:after {
    background-color: #030d28;
}

/*====================================*/
/*  服務內容
/*====================================*/

.service-block-three .inner-box .image {
    border-bottom: 4px solid #030d28;
}

.service-block-three .inner-box .image:before {
    position: absolute;
    top: 0;
    left: -80%;
    z-index: 2;
    display: block;
    content: '';
    width: 60%;
    height: 100%;
    background: -webkit-linear-gradient(left, #030d28 0%, #030d28 100%);
    background: linear-gradient(to right, #030d28 0%, #030d28 100%);
    -webkit-transform: skewY(0deg);
    transform: skewY(0deg);
}

.image.imgIcon {
    width: 150px;
    height: auto;
}

.inner-box.imgIcon-box {
    display: inline-grid;
    justify-items: center;
}

.imgIcon-box .lower-content h3 {
    text-align: center;
}

.imgIcon-box .text {
    height: 150px;
    padding-left: 10px;
    padding-right: 10px;
}

.auto-container {
    padding: 0px 20px;
}

.list-style-six li {
    position: relative;
    margin-bottom: 1em;
    font-weight: bold;
    /* 主文加粗 */
    color: #666;
    font-size: 1.8rem;
}

.list-style-six li .desc {
    display: block;
    font-weight: normal;
    font-size: 1.5rem;
    color: #999;
    margin-top: 0.3em;
    line-height: 1.6;
}

.list-style-six li:before {
    color: #fd5d14;
}


/*====================================*/
/*  施工案例
/*====================================*/
.gallery-item-two .inner-box h3 {
    color: #000;
    font-size: 2rem;
    font-weight: 600;
    position: relative;
    padding-top: 10px;
}

.designation2 {
    font-size: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* 限制顯示 4 行，可依需要調整 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5em;
    /* 建議搭配設定行高 */
    max-height: calc(1.5em * 4);
    /* 保險起見，也設定最大高度 */
}

.gallery-section .filters .filter.active,
.gallery-section .filters .filter:hover {
    color: #fd5d14;
    text-decoration: none;
}

/*====================================*/
/*  工程實績
/*====================================*/


.styled-pagination li a:hover,
.styled-pagination li a.active {
    border-color: #fd5d14;
    background-color: #fd5d14;
    color: #fff;
}

.news-block-three .inner-box .lower-content .lower-box {
    padding-top: 12px;
}


/*====================================*/
/*  contact
/*====================================*/


.contact-section .info-column h2:after,
.gallery-item-two .overlay-inner a.link {
    background-color: #fd5d14;
}

/*====================================*/
/*  Scroll to top
/*====================================*/

.scroll-to-top {
    background: #1e2842;
}


/*====================================*/
/*  footer
/*====================================*/

.main-footer {
    background-position: bottom;
}

.main-footer:before {
    display: none;
}

.main-footer .footer-widget h2 {
    font-size: 2.5rem;
}

.main-footer .footer-widget h2:after {
    background-color: #fd5d14;
}

.main-footer .footer-widget h2.le100bt20:after {
    left: 100px;
    bottom: 20px;
}

.main-footer .footer-widget h2.le375bt20:after {
    left: 375px;
    bottom: 20px;
}

.main-footer .links-widget .list li a:hover {
    color: #fd5d14;
}


.main-footer .footer-bottom {
    background-color: #030d28;
}

.widget-content a:hover {
    color: #fd5d14 !important;
}


.widget-content ul {
    list-style: none;
    padding: 0;
}

.widget-content ul li {
    margin-bottom: 20px;
}

.widget-content strong {
    color: #fd5d14;
    font-weight: 400;
}

.btn-style-one {
    background: #fd5d14;
    border: 2px solid #fd5d14;
    color: #fff;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 16px;
    letter-spacing: 2px;
}

.main-header .main-box {
    background-color: #33333324;
}

.default-form textarea {
    height: 150px;
}

.default-form input[type="text"],
.default-form input[type="email"],
.default-form input[type="password"],
.default-form select,
.default-form textarea {
    background-color: #fff;
    font-size: 1.5rem;
}

.default-form .form-group {
    margin-bottom: 15px;
}

/*====================================*/
/*  Scroll
/*====================================*/
.phone-icon {
    position: fixed;
    bottom: 80px;
    right: 15px;
    z-index: 999;
    width: 50px;
    height: 50px;
    color: #ffffff;
    font-size: 2rem;
    text-transform: uppercase;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
    background: #fd5d14;
}

.phone-icon:hover {
    background: #1e2842
}


.phone-icon a {
    color: #fff;
}


.scroll-to-top:hover {
    background: #fd5d14;
}


/*====================================*/
/*  media
/*====================================*/

@media only screen and (max-width: 1140px) {

    .main-header .main-box,
    .company-section {
        background: #030d28;
    }

    section.company-section .auto-container {
        padding: 0;
    }

}

@media only screen and (min-width: 992px) {
    .inline-grid-space-around {
        display: inline-grid;
        justify-content: space-around;
    }
}

@media only screen and (max-width: 991px) {

    .main-slider h2 {
        font-size: 2.5rem;
    }

    .main-slider .text {
        font-size: 1.8rem;
        line-height: 2rem;
    }

    .md-pull-no-float {
        float: none !important;
    }

    .video-box img {

        width: 100%;
    }

    .main-footer .footer-widget h2 {
        margin-bottom: 0;
    }

    footer.main-footer .auto-container {
        padding: 0px 30px;
    }

    .contact-section .info-column .inner-column {
        padding-left: 25px;
        padding-right: 20px;
        padding-bottom: 30px;
    }

    .contact-section .form-column .map-section {
        margin-left: 15px;
        margin-right: 15px;
    }

    .carousel .carousel-caption {
        left: 15%;
        top: 20%;
    }

    .carousel .item.active .carousel-caption p {
        font-size: 1.5rem;
        width: 450px;
    }

}

@media only screen and (max-width: 767px) {
    .main-header .main-box .logo-box {
        position: relative;
    }

    .main-header .nav-outer {
        top: 15px;
        position: absolute;
    }

    .main-header .main-box .logo-box {
        margin-bottom: 0;
    }

    .logo-box .logo {
        float: left;
    }

    .main-menu .navbar-collapse>.navigation,
    .main-menu .navbar-collapse>.navigation>li>a,
    .main-menu .navbar-collapse>.navigation>li>ul>li>ul>li>a {
        background: #030d28 !important;
    }

    .main-menu .navbar-collapse>.navigation>li>ul>li>a {
        background: #fff !important;
        color: #030d28 !important;
    }

    .main-menu .collapse.in,
    .main-menu .collapsing {
        margin: 20px 0px 15px;
    }

    .header-style-two .main-menu .navigation>li.current>a:after {
        opacity: 0;
    }

    .main-menu .navbar-header .navbar-toggle {
        border: 1px solid #fd5d14;
        background: #fd5d14;
    }

    .main-slider h2 {
        font-size: 2.8rem;
    }

    .main-slider .text {
        font-size: 1.8rem;
        line-height: 23px;
    }

    .company-section .inner-container h2 {
        font-size: 1.7rem;
    }

    .main-slider .btn-style-one {
        font-size: 1.5rem !important;
        padding: 8px 15px !important;
        margin-top: 10px !important;
    }

    .project-sectio-two.style-two .project-tab .p-tab-btn {
        color: #333;
        font-size: 1.5rem;
        margin-right: 20px;
    }

    .main-footer .logo-widget .logo {
        text-align: center;
    }

    .carousel .item.active .carousel-caption h2,
    .carousel .item .carousel-caption h2,
    .carousel .item.active .carousel-caption p {
        display: none !important;
    }

    .visible-xs {
        width: 100%;
        height: auto;
    }

    .carousel .carousel-caption {
        left: 8%;
        top: 70%;
    }

}

@media only screen and (max-width: 600px) {
    .sec-title h2:after {
        display: block;
    }

    .main-footer .footer-widget h2:after {
        display: none;
    }


}