/*--------------------------------------------------------------
# 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: #00d15f;
  text-decoration: none;
}

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

.heading-main {
  position: relative;
  padding: .7em 1.3em;
  color: #00D15F;
  text-align: center;
  margin-bottom: 3.2rem;
  line-height: 1.5;
}

.heading-main::before,
.heading-main::after {
  display: inline-block;
  position: absolute;
  width: 1em;
  height: 1em;
  content: '';
}

.heading-main::before {
  top: 0;
  left: 0;
  border-top: 5px solid #0098DF;
  border-left: 5px solid #0098DF;
}

.heading-main::after {
  bottom: 0;
  right: 0;
  border-bottom: 5px solid #0098DF;
  border-right: 5px solid #0098DF;
}


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

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

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

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

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #00d15f;
  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;
}




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

#header.header-scrolled,
#header.header-inner-pages {
  background: rgba(34, 41, 145, 0.8);
  padding: 12px 0;
}


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

/*--------------------------------------------------------------
# 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: rgba(255, 255, 255, 0.7);
  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: #fff;
  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: #fff;
}

.navbar .getstarted,
.navbar .getstarted:focus {
  padding: 8px 25px;
  margin-left: 30px;
  border-radius: 5px;
  color: #fff;
  transition: 0.3s;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.navbar .getstarted:hover,
.navbar .getstarted:focus:hover {
  color: #fff;
  border-color: #fff;
}

.navbar .getstarted:before,
.navbar li:hover>.getstarted:before {
  visibility: hidden;
}



/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #fff;
  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: 800px;
  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: 52px;
  font-weight: 700;
  line-height: 64px;
  color: #fff;
}

#hero h2 {
  color: rgba(255, 255, 255, 0.8);
  padding-top: 1.2rem;
}

#hero h3 {
  color: #FFDE82;
}

.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: #00d15f;
  border-color: #008d3f;
  color: #ffffff;
}

#hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

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

  #hero .hero-img {
    text-align: center;
  }

  #hero .hero-img img {
    width: 50%;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 26px;
    line-height: 36px;
  }

  #hero h2 {
    font-size: 18px;
    line-height: 24px;
  }

  #hero .hero-img img {
    width: 60%;
  }
}

@media (max-width: 575px) {
  #hero .hero-img img {
    width: 80%;
  }
}

@media (max-width: 575px),
(max-height: 600px) {
  #hero {
    height: auto;
  }
}

@-webkit-keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}



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

.about .content h3 {
  font-weight: 600;
  font-size: 32px;
  color: #5846f9;
}


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


/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
  background: linear-gradient(90deg, rgba(88, 70, 249, 0.5) 0%, rgba(123, 39, 216, 0.5) 100%), url("../img/counts-bg.png") center center no-repeat;
  background-size: cover;
  padding: 80px 0 60px 0;
}

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

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

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

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  padding: 30px 20px;
  transition: all ease-in-out 0.3s;
  background: #fff;
  font-size: 16px;
  margin-bottom: 25px;
  border-radius: 10px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  transition: 0.3s;
}


.icon-boxgroup{
  min-height: 340px;
}


.services .icon-box h2 {
  text-align: center;
}

.services .icon-box h4 {
  font-weight: 400;
}

.services .icon-box .list {
  margin-bottom: 20px;
}


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

.btn-green:hover {
  color: #fff;
  background-color: #008d3f;
}
@media (max-width:576px) {
  .icon-boxgroup {
    min-height: auto;
  }
}


/*--------------------------------------------------------------
# download
--------------------------------------------------------------*/

.download-list {
 padding: 2rem 3rem;

}


.download-list h4 {
  padding-bottom: 10px;
}

.download-list p{
  font-size: 16px;
}

.download-list i {
  font-size: 30px;
  color: #00ABFF;
  margin-right: 5px;
}


/*--------------------------------------------------------------
# Gift
--------------------------------------------------------------*/
.gift span {
  font-weight: 700;
  font-size: 24px;
  color: #F57700;
}

.gift h4 {
  text-align: center;
  padding-top: 20px;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.case .case-item {
  margin-bottom: 30px;
}

.case .case-wrap {
  position: relative;
  transition: 0.3s;
  overflow: hidden;
  z-index: 1;
}

.case .case-wrap::before {
  content: "";
  background: rgba(70, 91, 157, 0.8);
  position: absolute;
  left: 30px;
  right: 30px;
  top: 30px;
  bottom: 30px;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.case .case-wrap .case-info {
  opacity: 0;
  position: absolute;
  top: 10%;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 3;
  transition: all ease-in-out 0.3s;
}

.case .case-wrap .case-info p {
  color: #ffffff;
  font-size: 20px;
}

.case .case-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.case .case-wrap:hover .case-info {
  opacity: 1;
  top: calc(50% - 48px);
}



/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  color: #fff;
  font-size: 16px;
  background: linear-gradient(45deg, rgba(44, 195, 212, 0.9) 0%, rgba(31, 41, 145, 0.9) 100%), url("../img/hero-bg.jpg") center center no-repeat;
  background-size: cover;
  padding: 60px 0 30px 0;
}

.line-info {
  font-size: 15px;
  text-align: center;
}


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

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

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


/*--------------------------------------------------------------
# sidebar
--------------------------------------------------------------*/
#sidebar .register {
  background-color: #008d3f;
  color: #fff;
  position: fixed;
  bottom: 10%;
  right: 0;
  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: 2px 3px 8px 0px rgba(58, 15, 228, 0.32);
}

#sidebar .register:hover{
  background-color: #00D15F;
}