body {
    font-family: 'Arial', sans-serif;
    margin: 0;
}

.row {
    --bs-gutter-x: 0rem !important;
}

#video-background {height: auto;}
#header {
    position: fixed;
    z-index: 999;
    top: 64px;
    right: 64px;
}

#header .header-icon {
    width: 40px;
    height: 40px;
    margin: 16px;
    background-color: #FFFFFFD1;
    border-radius: 100%;
    transition: all .3s;
}

#header a:hover {
    width: 45px;
    height: 45px;
}

#header img {
    width: 20px;
    height: 20px;
    color: #05475c;
    fill: #05475c;
}

#navbar {
    display: none;
}

.sbtitle h1  {
    letter-spacing: 0.5rem;
}
.sbtitle p  {
    font-size: 1.5rem;letter-spacing: 0.5rem;
}

.sbtitle span {
    font-size: 1rem;letter-spacing: 0.2rem;
}

/* Section 1: Big Image */
.section1 .logo1 {
    display: block;
    width: 100%;
}

.section1 .logo1-rwd {
    display: none;
}

.section1 .desc {
    position: relative;
    bottom: 0;
}

/* Section 2: Image and Texts */
.section2 {
    color: white;
    padding: 20px 0 20px 0;
}

.section2 .rounded-rightTop {
    width: 100%;
}

.desc {
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
    text-align: lef;
    padding: 10px 20px;
    color: #004737;
}

.section5 .middle-line {
    margin: 36px;
}

.section5 .rwd-desc {
    display: none;
}

/* Section 6: Big Image */
.section6 {}

/* Section 7: Centered Text on Image */
.section7 {
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 0.01%, rgba(0, 0, 0, 0.5) 53.5%, #000000 79.01%), url('images/section7_bg.jpg');
    background-repeat: repeat;
    background-position: center;
    background-size: cover;
    color: white;
}

.section7 .info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.section7 .info .header {
    margin-top: 85px;
}

.section7 .desc1 {
    margin-top: 50px;
    max-width: 800px;
}

.section7 .desc2 {
    max-width: 725px;
    margin-bottom: 49px;
}

/* Section 8: Images and Texts */
.section8 {
    background-color: #EBf4F8;
    color: white;
}

.section8 .info {
    /*width: 80%;*/
    margin-left: auto;
    margin-right: auto;
    padding-top: 88px;
    padding-bottom: 126px;
}

.section8 .desc {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
}

.section8 .kuo-top {
    display: flex;
}

.section8 .kuo-top .card {
    font-size: 28px;
    writing-mode: vertical-lr;
    border-width: 0;
}

.section8 #carousel-kuo-top {
    display: none;
}

.section8 #carousel-kuo-bottom {
    display: none;
}

.section8 .kuo-bottom {
    display: flex;
}

.section8 .kuo-bottom .card {
    font-size: 28px;
    color: #FFFFFF;
    writing-mode: vertical-lr;
    border-width: 0;

}

.section8 .kuo-top-img {
    width: 100%;
}

.section8 .kuo-bottom-img {
    width: 100%;
}

/* Section 9: Two Blocks */
.section9 {
    background: url('https://photo.1pagedo.com/cityoasispycg/tang-bg.png') center/cover no-repeat;
    color: white;
    background-color: #f8f9fa;
    padding-bottom: 20px;
}

.section9 .info {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 191px;
    padding-bottom: 192px;
}

.section9 .desc {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    color: #015976;
}

.section9 .rwd-desc {
    display: none;
}

.section9 .tang-img {
    width: 100%;
    max-height: 366px;
}

/* Section 10: Google Map */
.section10 {
    width: 100%;
    height: 400px;
}

/* Section 11: Form */
.section11 {
    background: linear-gradient(
    to top,
    #3b6b5f 0%,   /* 底部 深墨綠灰 */
    #7fa79a 50%,  /* 中間段 較淡的綠灰 */
    #ffffff 100%  /* 上方 白色 */
  );
    color: white;
    padding: 100px 0;
    
}

.section11 .row {
    --bs-gutter-x: 0;
}

.section11 form {
    max-width: 600px;
    margin: 0 auto;
}


.section11 form label {
    display: flex;
    align-items: center;
    width: 209px;
}

.section11 form input {
    width: 100%;
    padding: 10px;
}

.section11 form .form-group {
    display: flex;
    border-bottom: 1px solid #FFFFFF;
    margin-bottom: 20px;
}

.section11 form .form-control {
    display: flex;
    align-items: center;
    background-color: transparent;
    border: none;
    border-radius: 0px;
}

.section11 button {
    width: 150px;
    height: 50px;
    border-radius: 15px;
    background-color: #FFFFFF;
    color: #9E9E9E;
    cursor: pointer;
    font-size: 1.8em;
}

/* .section11 button:hover {
    background-color: rgb(106, 106, 106);
} */

.section11 .form-check {
    display: flex;
    align-items: center;
}

.section11 .form-check-input {
    max-width: 20px;
    max-height: 20px;
}

.section11 .form-check a {
    margin: auto 0 auto 26px;
}

.section11 input {
    color: white;
}

.section11 input::placeholder {
    color: #ffffff;
    opacity: 1;
    font-weight: 100;
}

.section11 form a {
    color: white;
    text-decoration: none;
}

.section11 form a:hover {
    color: #9E9E9E;
}

.title-name {
    font-size: 48px;
    font-weight: 700;
    line-height: 87px;
}

@media screen and (max-width: 767px) {

    #header {
        display: none;
    }

    #navbar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        color: #ffffff;
        background-color: #004737;
        height: auto;
        margin-top: 0px;
        margin-bottom: 0px;
        padding: 10px;
        z-index: 999;
    }

    #navbar .navbar-icon {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #navbar svg {
        transition: all .3s;
    }

    #navbar svg:hover {
        width: 42px;
        height: 42px;
    }

    #navbar a {
        text-decoration: none;
        color: #ffffff;
        padding-top: 2px;
        padding-bottom: 2px;
    }

    #navbar a:hover {
        background-color: #1A3A33;
    }

    #navbar .nav-title {
        margin-top: 4px;
    }


    .section1 .logo1 {
        display: none
    }

    .section1 .logo1-rwd {
        display: block;
        width: 100%;
    }

    .section2 {
        padding: 0;
    }

    .section2 .rounded-rightTop {
        border-top-right-radius: 0;
    }

    .section2 .desc {}

    .section2 .middle-line {
        margin: 9px;
    }

    .section3 .rwd-desc {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: #015976;
        padding: 30px 0 30px 0;
    }

    .section3 .white-short-line {
        margin-bottom: 10px;
    }

    .section4 .desc {
        padding: 30px 0 30px 0;
    }

    .section5 {
        padding: 0;
    }

    .section5 .rounded-leftTop {
        border-top-left-radius: 0px;
    }

    .section5 .desc {
        display: none;
    }

    .section5 .middle-line {
        margin: 9px;
    }

    .section5 .rwd-desc {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: #ffffff;
        padding: 30px 0 30px 0;
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .section5 .white-short-line {
        margin-bottom: 10px;
    }

    .section7 .desc1 {
        margin-top: 110px;
        max-width: 325px;
    }

    .section7 .desc2 {
        max-width: 325px;
    }

    .section8 .info {
        padding: 30px 0;
    }

    .section8 .kuo-top {
        display: none;
    }

    .section8 #carousel-kuo-top {
        display: block;
    }

    .section8 #carousel-kuo-top .card {
        writing-mode: vertical-lr;
        border-width: 0;
        width: 100%;
    }

    .section8 #carousel-kuo-bottom {
        display: block;
    }

    .section8 #carousel-kuo-bottom .card {
        color: white;
        writing-mode: vertical-lr;
        border-width: 0;
        width: 100%;
    }

    .section8 .kuo-bottom {
        display: none;
    }

    .section9 .info {
        padding: 30px 0;
    }

    .section9 .desc {
        display: none;
    }

    .section9 .rwd-desc {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        color: #015976;
    }

    .section11 .row {
        --bs-gutter-x: 0rem !important;
    }

    .section11 form {
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .section11 .form-check a {
        font-size: 12px;
        margin: auto 0 auto 12px;
    }

    .section11 button {
        width: 100px;
        height: 50px;
        font-size: 16px;
    }

    .title-name {
        font-size: 32px;
        font-weight: 700;
        line-height: 50px;
    }
}


/* tang carousel */

#carousel-tang .card-img-overlay {
    color: #ffffff;
    writing-mode: vertical-lr;
    font-size: 22px;
}

@media (max-width: 767px) {
    .carousel-inner .carousel-item>div {
        display: none;
    }
    #video-background {height: 550px;}

    .carousel-inner .carousel-item>div:first-child {
        display: block;
    }

    .sbtitle h1  {
    letter-spacing: 0.5rem;
    }
    .sbtitle p  {
        font-size: 0.8rem;letter-spacing: 0.2rem;margin-bottom: 5px;
    }

    .sbtitle span {
        font-size: 0.7rem;letter-spacing: 0.1rem;
    }
    .desc2 {
        padding: 0 20px;
    }
}

#carousel-tang
.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
    display: flex;
}




/* 閃爍問題 */
/* medium and up screens */
/* @media (min-width: 768px) {

    .carousel-inner .carousel-item-end.active,
    .carousel-inner .carousel-item-next {
        transform: translateX(25%);
    }

    .carousel-inner .carousel-item-start.active,
    .carousel-inner .carousel-item-prev {
        transform: translateX(-25%);
    }
}

.carousel-inner .carousel-item-end,
.carousel-inner .carousel-item-start {
    transform: translateX(0);
} */