/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --main: #4cc7b8;
  scroll-padding-top: 3rem;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

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


a {
  color: var(--main);
  text-decoration: none;
}

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



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

.section-bg {
  background-color: #0b0d0f;
}

.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: 20px;
  height: 20px;
  background: var(--main);
  left: 0;
  bottom: 27px;
  left: calc(50% - 120px);
  -webkit-animation: rotate-box 0.8s linear infinite;
  animation: rotate-box .8s linear infinite;
}

@keyframes rotate-box {
  from {
    transform: rotate(90deg);
  }

  to {
    transform: rotate(180deg);
  }
}


.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 {
  background-color: #3d4753;
  border: 4px solid #0b0d0f;
  outline: 3px solid var(--main);
  border-radius: 10px;
  position: relative;
  padding: 40px;
  text-align: center;
  font-size: 35px;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

.heading::before,
.heading::after {
  content: '';
  position: absolute;
  height: 40px;
  width: 40px;
}

.heading::before {
  right: 0;
  border-right: 2px solid var(--main);
}

.heading::after {
  left: 0;
  border-left: 2px solid var(--main);
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background-color: #a5a5a5;
  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-color: #c9c9c9;
  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;
  }
}


/* ------------------------------
      nav
   ------------------------------ */
.main-nav {
  transition: all 0.5s;
  padding: 10px 0;
  background-image: linear-gradient(130deg, #e0e1e4 40%, #fff 40%);
  box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;
}

@media (max-width: 991px) {
  .main-nav {
    background-image: linear-gradient(130deg, #e0e1e4 70%, #fff 70%);
  }
}

.main-nav .logo img {
  max-height: 50px;
}

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

.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;
  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: "";
  display: block;
  position: absolute;
  height: 2px;
  bottom: -5px;
  right: 0;
  left: 0;
  z-index: -1;
  background-color: var(--main);
  transition: transform .3s ease;
  transform: scaleX(0);
  transform-origin: bottom right;
}

.navbar a:hover:before,
.navbar li:hover>a:before,
.navbar .active:before {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.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;
}



/* ------------------------------
       kv
   ------------------------------ */
.kv-box {
  width: 100%;
  height: 680px;
  background-image: linear-gradient(180deg, rgba(0, 54, 84, 0), #000c1b), linear-gradient(180deg, #000c1b, rgba(0, 54, 84, 0) 60%);
  background: url("../img/KV.jpg") 90% center no-repeat;
  background-size: cover;
  transition: all .3s ease-in-out;
}

.kv-box .container,
.kv-box .container-fluid {
  padding-top: 84px;
}

.kv-box h1 {
  font-size: 52px;
}

.kv-box h1,
.kv-box h3,
.kv-box h4 {
  -webkit-animation: focus-in-expand 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  animation: focus-in-expand 0.8s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@-webkit-keyframes focus-in-expand {
  0% {
    letter-spacing: -0.5em;
    -webkit-filter: blur(12px);
    filter: blur(12px);
    opacity: 0;
  }

  100% {
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
  }
}

@keyframes focus-in-expand {
  0% {
    letter-spacing: -0.5em;
    -webkit-filter: blur(12px);
    filter: blur(12px);
    opacity: 0;
  }

  100% {
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
  }
}

.kv-box h3 {
  color: #fddd89;
  font-size: 30px;
}

.kv-box h1,
.kv-box h3 {
  line-height: 1.5;
  text-shadow: 0px 3px 10px #212121;
  font-weight: 700;
}

.kv-box h3,
.kv-box h4 {
  padding-left: 1.5rem;
}

@media (max-width: 1200px) {
  .kv-box-sm {
    background-attachment: fixed;
    background-position: 80% center;
  }
}

@media (max-width: 991px) {
  .kv-box {
    height: 500px;
  }

  .kv-box h1,
  .kv-box h3,
  .kv-box h4 {
    text-align: center;
    -webkit-animation: none;
    animation: none;
  }

  .kv-box h1 {
    font-size: 40px;
  }

  .kv-box h3 {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .kv-box {
    background: url("../img/KV-sm.jpg") center center no-repeat;
    height: 460px;
  }

  .kv-box h1 {
    font-size: 36px;
    line-height: 1.3;
  }
}


@media (max-width: 575px) {
  .kv-box {
    background: url("../img/KV-sm.jpg") 70% center no-repeat;
    height: 500px;
  }

  .kv-box h1 {
    font-size: 34px;
  }

  .kv-box h3 {
    font-size: 25px;
  }

  .kv-box h4 {
    font-size: 20px;
  }
}

/* ------------------------------
       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;
}

.services ol {
  list-style: none;
  counter-reset: li;
}

.services li {
  counter-increment: li;
  padding-bottom: 10px;
  line-height: 1.7;
}

.services li::before {
  content: counter(li);
  text-align: center;
  color: #0b0d0f;
  background-color: var(--main);
  border-radius: 50px;
  display: inline-block;
  width: 2rem;
  margin-left: -3rem;
  margin-right: 1rem;
}


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

/* ------------------------------
       about
   ------------------------------ */
.about {
  padding: 60px 20px 40px;
  background-color: #051027;
}


.about-box {
  font-size: 20px;
  border: 3px solid var(--main);
  border-radius: 10px;
  padding: 10px 20px;
  margin-bottom: 20px;
}

/* ------------------------------
       agenda
   ------------------------------ */
.agenda {
  background: url(../img/bg.jpg) no-repeat center center fixed;
  padding: 80px 0 60px 0;
}

.agenda .counters span {
  font-size: 48px;
  color: var(--main);
  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;
  line-height: 1.4;
}

.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;
}



/* ------------------------------
       speaker
   ------------------------------ */
.speaker {
  background-color: #252b31;
}

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

.sp-info img {
  border-radius: 20px 0 20px 0;
  border: 4px solid #252b31;
  outline: 2px solid var(--main);
  max-width: 250px;
}

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

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

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

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

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

/* ------------------------------
       footer
   ------------------------------ */
.footer {
  border-top: 3px solid var(--main);
  color: #1d252c;
  font-size: 16px;
  padding: 60px 0 30px 0;
}

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

@media (max-width:576px) {
  .footer h5 {
    text-align: center;
  }

  .footer img {
    display: block;
    margin: auto;
  }
}

/*--------------------------------------------------------------
# form
--------------------------------------------------------------*/
.form {
  color: #1d252c;
}

.form span {
  color: #e71414;
  padding-right: 5px;
}

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

.form .form-answer input[type=checkbox],
input[type=radio] {
  padding-right: 10px;
  margin-left: 15px;
}

.form .help-block {
  font-size: 15px;
}

.btn-main,
.btn-main:focus {
  position: relative;
  border: none;
  border-radius: 50px;
  background-position: center;
  background-color: var(--main);
  color: #fff;
  font-size: 20px;
  letter-spacing: 2px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .2s;
  padding: 16px 0;
}

.btn-main:hover,
.btn-main:focus {
  background-color: #329083;
  color: #fff;
}

/*--------------------------------------------------------------
# sidebar
--------------------------------------------------------------*/
#sidebar .register {
  background-color: #fddd89;
  color: #333;
  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 0 0 10px;
  box-shadow: 0 0 15px rgba(255, 244, 182, 0.8);
  transition: all .3s;
}

#sidebar .register:hover {
  padding: 25px 25px 25px 10px;
}

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