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

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

body {
  font-size: 18px;
  line-height: 1.8;
  color: #53575A;
  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: 4rem 2rem;
  overflow: hidden;
}

.section-bg {
  background: linear-gradient(#E0EBF9, #ffffff);
}

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

.sub-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 15px;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
  display: inline-block;
  color: #003a33;
  border: 1px solid #62D9CA;
  background-color: #E4FFFC;
}

.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-color: #a5a5a5;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  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 34.9%, #fff 35%);
  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: #00af9a;
  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;
}




/* ------------------------------
       Services
   ------------------------------ */
.services {
  padding: 4rem 1rem;
}

.services h2 {
  color: #003654;
}

.services-card {
  border: 1px solid #C5D6EA;
  background-color: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  font-size: 16px;
  min-height: 176px;
  margin-bottom: 20px;
}

.services-card h5 {
  color: #003654;
  font-weight: 600;
  margin-bottom: 1rem;
}

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



/* ------------------------------
       about
   ------------------------------ */

.about-box {
  border: 2px solid #C5D6EA;
  border-radius: 10px;
  padding: 10px 20px;
  margin-bottom: 20px;
}

.about-box span {
  color: var(--main);
  font-weight: 600;
  padding-right: 15px;
}

.box-info {
  border: 2px solid #C5D6EA;
  border-radius: 10px;
  color: #333333;
  margin-bottom: 2rem;
}

.box-info div {
  display: inline-flex;
  align-items: center;
  position: relative;
  top: -13px;
  left: 10px;
  margin: 0 7px;
  padding: 0 8px;
  background: #fff;
  color: var(--main);
  font-size: 20px;
  font-weight: 600;
  vertical-align: top;
}

.box-info svg {
  padding-right: 4px;
}

.box-info p {
  margin: 0;
  padding: 0 1.5em 1em;
}


/* ------------------------------
       agenda
   ------------------------------ */


.agenda h2 {
  color: #011f45;
  margin-bottom: 2.5rem;
  text-align: left;
}

.ag-box {
  display: flex;
  gap: 10px;
  border: 1px solid #e5ebf3;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0px 4px 4px 0px rgba(29, 37, 44, .2);
  margin-bottom: 1.25rem;
}

.ag-box h4 {
  margin-bottom: 0.5rem;
}

.ag-box .box-right,
.ag-box .box-left {
  padding: 2.25rem;
  font-size: 16px;
}

.ag-box .box-left {
  color: #e5ebf3;
  background-color: #011f45;
  width: 48%;
  flex-shrink: 0;
}

.ag-box .box-left h4 {
  margin-bottom: 2rem;
}

.ag-box .box-left p {
  color: #B0E8F4;
  margin-bottom: 6px;
}

.ag-box .box-right {
  flex: 1;
}

.ag-box .box-right h4 {
  color: #003654;
}

@media (max-width: 992px) {
  .ag-box {
    flex-direction: column;
  }

  .ag-box .box-left {
    width: 100%;
  }
}

.pic-txt {
  padding: 3rem 8rem;
  margin: 3rem 1rem;
  border-radius: 20px;
  font-size: 20px;
  color: #ffffff;
  text-align: center;
  background-image: url(../img/box-img.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.pic-txt h3 {
  font-size: 2rem;
  letter-spacing: 0.05rem;
  color: #FEEBA0;
  margin-top: 2.25rem;
}

@media (max-width:768px) {
  .pic-txt {
    padding: 20px;
  }
}

/* ------------------------------
       gift
   ------------------------------ */
.gift h4 {
  color: var(--main);
  text-align: center;
  padding-top: 20px;
  font-size: 28px;
}

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

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

.icon-list {
  font-size: 16px;
  color: #6c757d;
  text-align: left;
  list-style: none;
  padding-left: 0;
  margin-top: 1.5rem;
}

.icon-list li {
  position: relative;
  padding-left: 1.2rem;
}

.icon-list li::before {
  content: "\F586";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
}


/* ------------------------------
       footer
   ------------------------------ */
.footer {
  border-top: 4px solid #00AF9A;
  color: #1d252c;
  font-size: 16px;
  padding: 60px 0 30px 0;
}

.footer-contact ul {
  border-bottom: 1px solid #CCD2D3;
  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 .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;
}