html {
    scroll-behavior: smooth;
}

body {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    font-family: 'Roboto', 'Noto Sans TC', Arial, '微軟正黑體', '新細明體', Helvetica, sans-serif;
}

:root {
    scroll-padding-top: 3rem;
    --main-color: #35776b;
    --second-color: #88cac9;
    --third-color: #7bb86b;
    --lightY: #fed03d;
    --lightO: #E9662E;
}

p {
    font-size: 17px;
    line-height: 1.8;
}


section {
    padding-top: 50px;
    padding-bottom: 70px;
    overflow: hidden;
}

.btn-main {
    color: #fff;
    background-color: var(--lightO);
    display: inline-block;
    padding: 0.6rem 2.5rem;
    border-radius: 30px;
    border: 2px solid var(--lightO);
    margin-bottom: 5px;
    font-size: 20px;
    letter-spacing: 5px;
}

.btn-main:hover {
    color: var(--lightO);
    background-color: #fff;
    text-decoration: none;
}



/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: #d8d8d8;
    width: 40px;
    height: 40px;
    border-radius: 4px;
}

.back-to-top i {
    font-size: 28px;
    color: #fff;
    line-height: 0;
    padding-top: 10px;
}

.back-to-top:hover {
    background: #eee;
    color: #fff;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}


/*--------------------------------------------------------------
  # Disable aos animation delay on mobile devices
  --------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}



/*******************
    KV
 *******************/
#hero {
    width: 100%;
    height: 600px;
    background: url("../img/kv-bg.png") right top no-repeat fixed;
}

#hero::before,
#hero-xs::before {
    content: '';
    background-image: url(../img/Cisco_partner_blue.png);
    display: inline-block;
    background-size: 90px 77px;
    width: 90px;
    height: 77px;
    margin-right: 5px;
    position: absolute;
    top: 20px;
    left: 30px;
}


#hero h1,
#hero-xs h1 {
    font-size: 60px;
    letter-spacing: 10px;
    font-weight: 700;
    line-height: 64px;
    color: #212121;
}

#hero h2,
#hero-xs h2 {
    color: #212121;
    font-size: 28px;
}


#hero h3,
#hero-xs h3 {
    padding-top: 2rem;
    color: #313131;
    font-size: 17px;
    line-height: 1.3;
}

#hero h3 span,
#hero-xs h3 span {
    color: var(--lightO);
}

#hero .btn-main,
#hero-xs .btn-main {
    letter-spacing: 1px;
    margin-top: 30px;
}


@media (max-width: 1610px) {
    #hero {
        width: 100%;
        height: 500px;
        background-position: -60% top;
    }
}

@media (max-width: 1560px) {
    #hero {
        height: 460px;
        background-size: 80%;
        background-position: right top;
    }

    #hero h1 {
        font-size: 50px;
    }

    #hero h2 {
        font-size: 24px;
    }

}

@media (max-width: 1470px) {
    #hero {
        background-size: 90%;
    }

    #hero h1,
    #hero-xs h1 {
        font-size: 46px;
        letter-spacing: 0;
    }

}

@media (max-width: 1280px) {
    #hero {
        background-size: 100%;
    }

    #hero h1 {
        font-size: 45px;
        letter-spacing: 0;
    }

    #hero h2 {
        font-size: 22px;
    }

    #hero .btn-main {
        font-size: 18px;
        padding: 0.5rem 2.3rem;
        margin-top: 20px;
    }

}

@media (max-width: 1200px) {

    #hero,
    #hero-xs {
        background-size: 90%;
        height: 400px;
    }

    #hero h1 {
        font-size: 40px;
    }

    #hero h2 {
        font-size: 20px;
    }

    #hero h3,
    #hero-xs h3 {
        padding-top: 1rem;
        font-size: 15px;
    }

}

@media (max-width: 1070px) {
    #hero {
        background-size: 80%;
        height: 360px;
    }

    #hero h1 {
        font-size: 34px;
    }

    #hero::before,
    #hero-xs::before {
        background-size: 80px 68px;
        width: 80px;
        height: 68px;
        top: 10px;
        left: 20px;
    }

    #hero .btn-main,
    #hero-xs .btn-main {
        font-size: 18px;
        padding: 0.4rem 2.5rem;
        margin-top: 10px;
    }

}

@media (max-width: 991px) {
    #hero {
        background: url("../img/kv-sm-bg.png") right top no-repeat;
    }

    #hero h1 {
        font-size: 30px;
    }

    #hero h2 {
        font-size: 17px;
    }
    #hero .btn-main,
    #hero-xs .btn-main {
        padding: 0.2rem 1.3rem;
    }
}

@media (max-width: 768px) {
    #hero-xs {
        height: auto;
    }

    #hero-xs h1 {
        font-size: 50px;
    }

    #hero-xs h2 {
        font-size: 22px;
    }

    #hero-xs h3 {
        padding-top: 1rem;
        font-size: 15px;
    }

    #hero-xs::before {
        background: none;
    }

    #hero-xs img {
        display: block;
        margin: auto;
        margin-top: 40px;
        max-width: 500px;
    }
}

@media (max-width: 630px) {
    #hero-xs h1 {
        font-size: 40px;
    }

    #hero-xs img {
        max-width: 370px;
    }
}



/*====================================
# nav
==================================== */
.main-nav {
    background-color: #025546;
    box-shadow: 0 0 10px rgba(17, 17, 26, 0.1);
    z-index: 10;
}

.navbar-light .navbar-nav .nav-link {
    color: #fff;
    text-align: center;
    font-size: 20px;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--lightY);
}

.btn-signup {
    background-color: #006CB0;
    padding: 8px 25px;
    border-radius: 25px;
    color: #fff;
}

.btn-signup:hover {
    color: #fff;
    background-color: #0191eb;
}

.btn-signup-desktop {
    display: none;
}

.custom-toggler.navbar-toggler {
    border: none;
}

.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

@media (min-width: 992px) {
    .navbar-nav {
        text-align: center;
    }

    .btn-signup-desktop {
        display: block;
    }
}
/* .navbar-expand-lg .navbar-nav {
    margin: auto;
} */


/*******************
    foreword
 *******************/
.sec-foreword {
    background-color: #E7F4F4;
}

.top-title h2 {
    text-align: center;
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--main-color);
}

.top-title p {
    margin: 40px auto;
}


.link-box {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 70px;
    border-radius: 10px;
    position: relative;
}

.link-box:hover {
    opacity: 0.9;
    text-decoration: none;
}

.link-box p {
    font-size: 18px;
    color: #212121;
}

.link-content {
    margin: auto;
    text-align: center;
    max-width: 150px;
}

.link-box h3 {
    text-align: center;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 40px;
    color: var(--lightO);
}

.link-box h5 {
    text-align: center;
    color: var(--lightO);
}
.link-box .btn-main{
    position: absolute;
    left: 50%;
    bottom: -30px;
    transform: translate(-50%);
    margin: auto;
    padding: 10px 30px;
    letter-spacing: 2px;
}
@media (max-width: 1200px) {
    .link-box .btn-main{
        font-size: 18px;
        padding: 5px 20px;
    }
}
@media (max-width: 991px) {
    .link-box .btn-main{
        font-size: 24px;
        padding: 5px 30px;
    }
}
/*====================================
# sec-solution
==================================== */
.sec-solution {
    position: relative;
    padding-bottom: 120px;
}
.sec-solution .top-title{
    margin-bottom: 30px;
}
.sec-solution p{
    display: inline-block;
    padding: 5px 20px;
    font-size: 22px;
    font-weight: 700;
    margin: auto;
}
.sec-solution img {
    border-radius: 10px;
}

.our_title::before {
    content: "";
    width: 100%;
    height: 120px;
    background-color: #fff;
    position: absolute;
    left: 0;
    bottom: -1px;
    clip-path: polygon(50% 99%, 50% 100%, 0 100%, 0 0);
}

.sankaku_left::before {
    content: "";
    width: 100%;
    height: 120px;
    background-color: #eee;
    position: absolute;
    bottom: -1px;
    left: 0;
    clip-path: polygon(50% 99%, 50% 100%, 0 100%, 0 0);
}

.our_title::after {
    content: "";
    width: 100%;
    height: 120px;
    background-color: #fff;
    position: absolute;
    bottom: -1px;
    right: 0;
    clip-path: polygon(100% 0, 100% 100%, 50% 100%, 50% 99%);
}

.sankaku_right::after {
    content: "";
    width: 100%;
    height: 120px;
    background-color: #eee;
    position: absolute;
    bottom: -1px;
    right: 0;
    clip-path: polygon(100% 0, 100% 100%, 50% 100%, 50% 99%);
}

/*====================================
# sec-product
==================================== */
.sec-product {
    background-color: #eee;
}
.sec-product .product-box{
    padding: 0 5px;
}
.sec-product .link-box {
    min-height: 320px;
    background-color: #f8f8f8;
}

.sec-product .link-box h3 {
    font-size: 26px;
    margin: 15px 0 10px;
}

.sec-product .link-box h5 {
    font-size: 18px;
    color: #212121;
}
@media (max-width: 992px) {
    .sec-product .link-box {
        min-height: 310px;
    }
}
@media (max-width: 767px) {
    .sec-product .link-box {
        min-height: auto;
    }
}


/************************ 
        sec-story
************************/
.sec-story .link-box {
    background-color: #fed964;
}

.sec-story .link-content {
    max-width: none;
}

.sec-story .link-content img {
    border-radius: 10px;
}

.sec-story .link-box h3 {
    font-size: 24px;
    margin: 15px 0 10px;
    color: var(--lightO);
}

.sec-story .link-box h5 {
    text-align: left;
    font-size: 20px;
    color: #212121;
}

.sec-story .link-box .box-content p {
    font-size: 16px;
    line-height: 1.5;
}

.sec-story .link-box .box-content p:nth-child(2) {
    color: var(--lightO);
}

/************************ 
        sec-data
************************/
.sec-data {
    background: url(../img/data-bg.png) center center no-repeat fixed;
}
.sec-data .data-content h2 {
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 600;
}

.sec-data .data-content p {
    margin: 20px auto;
}

@media (max-width: 992px) {
    .sec-data .data-content {
        margin-top: 50px;
    }
}

/************************ 
        form 
************************/

.form .help-block {
    color: var(--lightO);
    font-size: 16px;
}

.form .control-box {
    background-color: #e9ecef;
    opacity: 1;
}
.form .form-group label{
    font-weight: 500;
}
.form .line{
    border-top: 1px dashed #b6b6b6;
    padding: 20px 0 0;
}
/************************ 
        thanks  
************************/
.thanks {
    background: url(../img/data-bg.png) center center no-repeat fixed;
    padding-bottom: 40px;
}

.thanks .thanks-content h3 {
    padding: 30px 0;
    margin-bottom: 0;
    font-size: 24px;
    color: var(--main-color);
}

.thanks .thanks-content p {
    text-align: right;
}
@media (max-width: 767px) {
    .thanks {
        background: #fff;
    }
    .thanks-footer {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1030;
    }
}


/************************ 
        footer  
************************/

footer {
    padding-top: 10px;
    overflow: hidden;
    background-color: #025546;
}
footer span{
    color: #fff;
    margin: 20px 0 ;
}
footer span a{
    color: #fff;
    text-decoration: underline;
}
footer span a:hover{
    color: #fff;
    text-decoration: underline;
}




/*sidebar*/
#sidebarReg .register {
    color: #fff;
    position: fixed;
    bottom: 10%;
    right: 0;
    font-size: 22px;
    padding: 12px 16px 12px 30px;
    z-index: 99;
    line-height: 1.2;
    letter-spacing: 2px;
    border-radius: 10px 0 0 10px;
    background-color: var(--lightO);
    box-shadow: 0 5px 10px #1b1b1b20;
    display: flex;
    align-items: center;
}

#sidebarReg .register:hover {
    color: #fff;
    background-color: var(--third-color);
}
.sidebarReg span{
    display: inline-block;
}
#sidebarReg .register i {
    display: inline-block;
    padding-left: 10px;
    font-size: 24px;
    transform: translateX(2px);
}
@media (max-width: 991px) {
    #sidebarReg .register {
        writing-mode: vertical-lr;
        font-size: 16px;
        text-align: start;
        padding: 10px 5px;
    }
}