/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
html {
  scroll-behavior: smooth;
}

body {
  font-size: 18px;
  line-height: 1.8;
  color: #333333;
  font-family: 'Roboto', 'Noto Sans TC', Arial, '微軟正黑體', '新細明體', Helvetica, sans-serif;
}


a {
  color: #00AF9A;
  text-decoration: none;
}

a:hover {
  color: #ffa17a;
  text-decoration: none;
}



section {
  padding: 100px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #edfdf9;
}

.section-title {
  padding-bottom: 30px;
}

.section-title h2 {
  text-align: center;
  font-size: 36px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 15px;
  position: relative;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 5px;
  background: #00AF9A;
  bottom: 0;
  left: calc(50% - 25px);
}

.section-title p {
  margin-bottom: 0;
}


.read-more {
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 50px 10px 28px;
  border-radius: 25px;
  color: #fff;
  background: linear-gradient(45deg, #2cbed5 0%, #2650fc 100%);
  position: relative;
}

.read-more:hover {
  color: #fff;
  background: linear-gradient(180deg, #2cbed5 0%, #2650fc 100%);
}

.read-more i {
  font-size: 22px;
  position: absolute;
  right: 20px;
  top: 12px;
}


.heading {
  padding: .5em .7em;
  border-left: 5px solid #00af9a;
  background-color: #ffffff;
  color: #333333;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  margin-bottom: 2rem;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: rgba(0, 0, 0, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: rgba(0, 0, 0, 0.5);
  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;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: all 0.5s;
  z-index: 997;
  padding: 15px 0;
  background: #fff;
  box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;
}

#header .logo img {
  max-height: 50px;
}

@media (max-width:576px) {
  #header .logo img {
    max-height: 40px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar>ul>li {
  padding: 10px 0 10px 24px;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  padding: 0 3px;
  color: #333;
  white-space: nowrap;
  transition: 0.3s;
  position: relative;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar>ul>li>a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #00af9a;
  visibility: hidden;
  width: 0px;
  transition: all 0.3s ease-in-out 0s;
}

.navbar a:hover:before,
.navbar li:hover>a:before,
.navbar .active:before {
  visibility: visible;
  width: 100%;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #00af9a;
}



/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #00af9a;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(28, 47, 65, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile>ul>li {
  padding: 0;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #2c4964;
}

.navbar-mobile a:hover:before,
.navbar-mobile li:hover>a:before,
.navbar-mobile .active:before {
  visibility: hidden;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #5846f9;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}



/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 720px;
  background: url("../img/hero-bg.jpg") center center no-repeat;
  background-size: cover;
}

#hero .container,
#hero .container-fluid {
  padding-top: 84px;
}

#hero h1 {
  font-size: 58px;
  font-weight: 700;
  line-height: 64px;
  color: #fff;
  letter-spacing: 0.2rem;
}

#hero h2 {
  font-weight: 500;
  color: #b8c1ec;
}

#hero h3 {
  color: #dfdfdf;
  font-weight: 400;
  padding-top: 1.5rem;
}

#hero h1,
#hero h2,
#hero h3 {
  text-shadow: 0px 3px 10px #212121;
}

.btn-get-started {
  letter-spacing: 1px;
  display: inline-block;
  padding: 0.8rem 2.5rem;
  border-radius: 30px;
  transition: 0.5s;
  margin-top: 30px;
  color: #fff;
  border: 2px solid #fff;
}

.btn-get-started:hover {
  background: #00AF9A;
  border-color: #008d3f;
  color: #ffffff;
}


@media (min-width: 1200px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 991px) {
  #hero {
    text-align: center;
  }

  #hero .container,
  #hero .container-fluid {
    padding-top: 68px;
  }

  #hero .animated {
    -webkit-animation: none;
    animation: none;
  }

}

@media (max-width: 768px) {

  #hero h1 {
    font-size: 40px;
    line-height: 40px;
    letter-spacing: 0;
    margin-bottom: 15px;
  }

  #hero h2 {
    font-size: 26px;
    line-height: 30px;
  }

  #hero h3 {
    font-size: 18px;
  }

}


@media (max-width: 575px),
(max-height: 400px) {
  #hero {
    text-align: left;
    background: url("../img/hero600.jpg") center center no-repeat;
  }
  #hero h1 {
    font-size: 35px;
  }

  #hero h2 {
    font-size: 20px;
  }

  #hero h3 {
    font-size: 16px;
  }

}



/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about {
  padding: 60px 20px 40px;
}


.about-box {
  font-size: 20px;
  border: 3px solid #a2acbd;
  border-radius: 20px;
  padding: 10px 20px;
  margin-bottom: 20px;
}

/*--------------------------------------------------------------
# agenda
--------------------------------------------------------------*/
.agenda {
  color: #ffffff;
  background-image: url(../img/bg.jpg);
  /* background: linear-gradient(45deg, rgba(52,75,70, 0.9) 0%, rgba(151,177,171, 0.9) 100%), url("../img/bg.jpg") top center no-repeat; */
  background-size: cover;
  padding: 80px 0 60px 0;
}

.agenda .counters span {
  font-size: 48px;
  color: #00AF9A;
  font-weight: 600;
}

.agenda .counters p {
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width:576px) {
  .agenda h1 {
    font-size: 2rem;
  }
}


/*==================================
    TIMELINE
==================================*/

.timeline {
  line-height: 1.4em;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.timeline h1,
.timeline h2,
.timeline h3,
.timeline h4,
.timeline h5,
.timeline h6 {
  line-height: inherit;
}

/*----- TIMELINE ITEM -----*/
.timeline-item {
  padding-left: 40px;
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

/*----- TIMELINE INFO -----*/
.timeline-info {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0 0 0.6em 0;
  text-transform: uppercase;
  white-space: nowrap;
}

/*----- TIMELINE MARKER -----*/
.timeline-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 15px;
}

.timeline-marker:before {
  background: #00AF9A;
  border: 3px solid transparent;
  border-radius: 100%;
  content: "";
  display: block;
  height: 15px;
  position: absolute;
  top: 4px;
  left: 0;
  width: 15px;
  transition: background 0.3s ease-in-out, border 0.3s ease-in-out;
}

.timeline-marker:after {
  content: "";
  width: 3px;
  background: #edfdf9;
  display: block;
  position: absolute;
  top: 24px;
  bottom: 0;
  left: 6px;
}

.timeline-item:last-child .timeline-marker:after {
  content: none;
}

.timeline-item:not(.period):hover .timeline-marker:before {
  background: transparent;
  border: 3px solid #f6dfa4;
}

/*----- TIMELINE CONTENT -----*/
.timeline-content {
  padding-bottom: 40px;
}

.timeline-content h3 {
  color: #f6dfa4;
  margin-bottom: 15px;
}

.timeline-content p:last-child {
  margin-bottom: 0;
}

/*----- TIMELINE PERIOD -----*/
.period {
  padding: 0;
}

.period .timeline-info {
  display: none;
}

.period .timeline-marker:before {
  background: transparent;
  content: "";
  width: 15px;
  height: auto;
  border: none;
  border-radius: 0;
  top: 0;
  bottom: 30px;
  position: absolute;
  border-top: 3px solid #CCD5DB;
  border-bottom: 3px solid #CCD5DB;
}

.period .timeline-marker:after {
  content: "";
  height: 32px;
  top: auto;
}

.period .timeline-content {
  padding: 40px 0 70px;
}

.period .timeline-title {
  margin: 0;
}

/*----------------------------------------------
    MOD: TIMELINE SPLIT
----------------------------------------------*/
@media (min-width: 768px) {

  .timeline-split .timeline,
  .timeline-centered .timeline {
    display: table;
  }

  .timeline-split .timeline-item,
  .timeline-centered .timeline-item {
    display: table-row;
    padding: 0;
  }

  .timeline-split .timeline-info,
  .timeline-centered .timeline-info,
  .timeline-split .timeline-marker,
  .timeline-centered .timeline-marker,
  .timeline-split .timeline-content,
  .timeline-centered .timeline-content,
  .timeline-split .period .timeline-info {
    display: table-cell;
    vertical-align: top;
  }

  .timeline-split .timeline-marker,
  .timeline-centered .timeline-marker {
    position: relative;
  }

  .timeline-split .timeline-content,
  .timeline-centered .timeline-content {
    padding-left: 30px;
  }

  .timeline-split .timeline-info,
  .timeline-centered .timeline-info {
    padding-right: 30px;
  }

  .timeline-split .period .timeline-title,
  .timeline-centered .period .timeline-title {
    position: relative;
    left: -45px;
  }
}

/*----------------------------------------------
    MOD: TIMELINE CENTERED
----------------------------------------------*/
@media (min-width: 992px) {

  .timeline-centered,
  .timeline-centered .timeline-item,
  .timeline-centered .timeline-info,
  .timeline-centered .timeline-marker,
  .timeline-centered .timeline-content {
    display: block;
    margin: 0;
    padding: 0;
  }

  .timeline-centered .timeline-item {
    padding-bottom: 40px;
    overflow: hidden;
  }

  .timeline-centered .timeline-marker {
    position: absolute;
    left: 50%;
    margin-left: -7.5px;
  }

  .timeline-centered .timeline-info,
  .timeline-centered .timeline-content {
    width: 50%;
  }

  .timeline-centered>.timeline-item:nth-child(odd) .timeline-info {
    float: left;
    text-align: right;
    padding-right: 30px;
  }

  .timeline-centered>.timeline-item:nth-child(odd) .timeline-content {
    float: right;
    text-align: left;
    padding-left: 30px;
  }

  .timeline-centered>.timeline-item:nth-child(even) .timeline-info {
    float: right;
    text-align: left;
    padding-left: 30px;
  }

  .timeline-centered>.timeline-item:nth-child(even) .timeline-content {
    float: left;
    text-align: right;
    padding-right: 30px;
  }

  .timeline-centered>.timeline-item.period .timeline-content {
    float: none;
    padding: 0;
    width: 100%;
    text-align: center;
  }

  .timeline-centered .timeline-item.period {
    padding: 50px 0 90px;
  }

  .timeline-centered .period .timeline-marker:after {
    height: 30px;
    bottom: 0;
    top: auto;
  }

  .timeline-centered .period .timeline-title {
    left: auto;
  }
}

/*----------------------------------------------
    MOD: MARKER OUTLINE
----------------------------------------------*/
.marker-outline .timeline-marker:before {
  background: transparent;
  border-color: #FF6B6B;
}

.marker-outline .timeline-item:hover .timeline-marker:before {
  background: #FF6B6B;
}


/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/


.btn-green {
  display: block;
  width: 200px;
  text-align: center;
  margin: 0 auto;
  color: #fff;
  padding: 10px 20px;
  background-color: #00AF9A;
  border-radius: 10px;
  transition: 0.3s;
}

.btn-green:hover {
  color: #fff;
  background-color: #008d3f;
}

@media (max-width:576px) {
  .icon-boxgroup {
    min-height: auto;
  }
}


/*--------------------------------------------------------------
# sp
--------------------------------------------------------------*/
.sp-info {
  text-align: center;
}

.sp-info img {
  border-radius: 20px 0 20px 0;
  max-width: 250px;
}

.sp-info h4 {
  margin-top: 10px;
}

.sp-info p {
  font-size: 17px;
  line-height: 24px;
  color: #999999;
}


/*--------------------------------------------------------------
# Gift
--------------------------------------------------------------*/


.gift h4 {
  color: #9d8fee;
  text-align: center;
  padding-top: 20px;
  font-size: 28px;
}

.gift-info {
  text-align: center;
}

.gift-info p {
  line-height: 24px;
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  color: #fff;
  font-size: 16px;
  background-color: #2b3138;
  padding: 60px 0 30px 0;
}

.footer-contact ul {
  border-bottom: 1px solid #97b1ab;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

/*--------------------------------------------------------------
# form
--------------------------------------------------------------*/

.form input[type=checkbox],
.form input[type=radio] {
  margin-right: 5px;
}

.help-block {
  color: #008d3f;
  font-size: 15px;
}


/*--------------------------------------------------------------
# sidebar
--------------------------------------------------------------*/
#sidebar .register {
  background: linear-gradient(70deg, #167081 50%, #00af9a 50%);
  background-color: #167081;
  color: #fff;
  position: fixed;
  bottom: 10%;
  right: 10px;
  border: none;
  display: block;
  font-size: 20px;
  writing-mode: vertical-lr;
  padding: 25px 10px;
  z-index: 10;
  border-radius: 10px;
  box-shadow: 2px 3px 8px 0px rgba(58, 15, 228, 0.32);
  transition: all 0.3s;
}

#sidebar .register:hover {
  transform: translateY(-10px);
}

/*--------------------------------------------------------------
# partner
--------------------------------------------------------------*/
.partner .card {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}