/*原本的跟目錄樣式*/
html {
    font-size: 16px;
    /* scroll-behavior: smooth */
}

/*全局顏色*/
:root {
    --white: #fff;
    --darken: #273244;
    --black: #323232;
    --white: #fff;
    --gray: #f3f3f3;
    /* 新增的變數 */
    --dark-green: #3D696C;
    --light-black: #3A3632;
    --light-yellow: #FAF7EC;
}

body {
    color: #323232;
    font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Noto Sans TC', 'Microsoft JhengHei', Arial, sans-serif;
    background-color: #dfe3e4;
    text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    line-height: 1.5
}

h1 {
    /* font-size: min(36px, max(30px, 3.5vw)); */
    /* font-size: clamp(32px, 3.5vw, 33px); */
    font-size: clamp(32px, 3.5vw, 40px);
}

h2,
.h2 {
    font-size: min(24px, max(26px, 3vw));
}

h3,
.h3 {
    font-size: min(20px, max(22px, 2.75vw));
}

h4,
.h4 {
    font-size: min(18px, max(16px, 2vw));
}

ol,
ul {
    padding-left: 1.5rem;
}

#all {
    max-width: 800px;
    margin: 0 auto;
}

.hr::after {
    content: '';
    width: 115px;
    height: 4px;
    background-color: #8188d0;
    display: block;
    margin: .75rem auto 3rem;
}




.light-black {
    color: var(--light-black);
}

.dark-green {
    color: var(--dark-green);
}

header {

    position: relative;
    overflow: visible;
    background-color: #EBE4CE;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 355px;
    position: relative;
}

.subtitle {
    font-family: "Noto Sans TC";
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
}

.card.h-100.mx-auto {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.66);
    padding-top: 15px;

}

ul.disc {
    font-size: 14px;
    line-height: 1.4;
    padding-left: 20px;
    margin-bottom: 0;
}

ul.disc li {
    margin-bottom: 8px;
}

.card {
    border: none !important;
}


@media (max-width:768px) {
    .btn-hightech {

        margin: 10px 0;
    }

    .btn-hightech,
    .btn-create,
    .btn-consult {
        padding-top: 12px !important;
        padding-bottom: 12px !important;

    }

    .card.h-100.mx-auto {
        padding-right: 8px;
    }

    .col-12.col-md-6.card-wrapper.mb-4 {
        margin-bottom: 1.5rem !important;
    }


}

/* .special {
    padding-top: 80px !important;
} */

.card {
    flex-shrink: 0;
    padding-top: 0.8rem;
    border-radius: 10px;
}

.card-body {
    padding: 0.8rem !important;
}

.card-title {
    color: #382B73;
    text-align: center;
    font-family: "Noto Sans TC";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.card-text {
    color: #323232;
    font-family: "Noto Sans TC";
    font-size: 16px;
    font-style: normal;
    font-weight: 350;
    line-height: 20px;
    text-align: left;
}

/* 浮動區塊 */
.floating-box {
    position: absolute;
    bottom: -134px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background-color: #CDC5B3;
    z-index: 10;
    padding: 20px 15px;
    border-radius: 10px;
}

.img-ontop {
    position: relative;
    z-index: 20;
}

.floating-box .row div {
    position: relative;
    padding-left: 20px;
}

.floating-box .row div::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 2px;
    height: 59px;
    background: #A98DF6;
    transform: translateY(-50%);
}

.floating-box>.row {
    margin-left: 3.5%;
}

.row.float {
    color: #323232;
}

.floating-box .row .highlight {
    font-weight: 500;
    font-size: 17px;
    color: #000;
    letter-spacing: 1px;
}
.photo p{
font-weight: 600;
}

.section2 {
    padding-top: 9rem;
}

@media (max-width:768px) {

    header {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        height: 600px;
        position: relative;
        /* flex-direction: column; */
    }

    .subtitle {
        font-size: 21px;
    }

    /*浮動區塊*/
    .floating-box>.row {
        margin-left: 12%;
    }

    .floating-box>.row>.smfloat {
        margin-bottom: 2%;
    }

    .floating-box {

        /* 調整寬度 */
        margin-left: auto;
        margin-right: auto;
    }

    .floating-box h5 {
        font-size: 18px;
    }

    .btn-container {
        display: flex;
        justify-content: center;
    }

    .header-img {
        text-align: center;
    }

    /* 手機畫面下的全局樣式 */

    .floating-box,
    .header,
    .row.float {
        width: 87%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    header {
        height: 650px;
    }

}

@media (max-width: 475px) {
    header {
        height: 690px;
    }

}

@media (max-width: 420px) {
    header {
        height: 730px;
    }

}


@media (max-width: 380px) {
    header {
        height: 760px;
    }

}





