/***

====================================================================
    Terms & Conditions Page
====================================================================

***/

.terms-progress{
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 100000;
  pointer-events: none;
}

.terms-progress span{
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #006d59 0%, #00a88a 100%);
  box-shadow: 0 0 10px rgba(0, 109, 89, 0.5);
  transition: width 0.1s linear;
}

.terms-section{
  position: relative;
  padding: 110px 0 90px;
  background: linear-gradient(180deg, #f2f8f7 0%, #ffffff 420px);
}

.terms-section .theme-color{
  color: #006d59;
}

/* Intro */

.terms-intro{
  position: relative;
  max-width: 900px;
  margin: 0 auto 70px;
  text-align: center;
}

.terms-intro .title-box{
  margin-bottom: 25px;
}

.terms-meta{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 0;
  margin: 0 0 35px;
}

.terms-meta li{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 14px;
  line-height: 22px;
  color: #6c7171;
  background: #ffffff;
  border: 1px solid #dfeae7;
  border-radius: 50px;
  box-shadow: 0 5px 20px rgba(45, 52, 52, 0.05);
}

.terms-meta li i{
  color: #006d59;
}

.terms-meta li strong{
  color: #2d3434;
  font-weight: 600;
}

.terms-meta li.print-btn{
  padding: 0;
  border-color: #006d59;
}

.terms-meta li.print-btn a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  color: #006d59;
  font-weight: 600;
  border-radius: 50px;
}

.terms-meta li.print-btn a i{
  transition: none;
}

.terms-meta li.print-btn a:hover{
  color: #ffffff;
  background: #006d59;
}

.terms-meta li.print-btn a:hover i{
  color: #ffffff;
}

.terms-intro .intro-card{
  position: relative;
  padding: 35px 40px;
  text-align: left;
  font-size: 17px;
  color: #4a5252;
  background: #ffffff;
  border-radius: 12px;
  border-left: 5px solid #006d59;
  box-shadow: 0 20px 50px rgba(45, 52, 52, 0.08);
}

.terms-intro .intro-card strong{
  color: #2d3434;
}

/* Sidebar */

.terms-sidebar{
  position: sticky;
  top: 120px;
  margin-bottom: 40px;
}

.terms-sidebar .toc-box{
  position: relative;
  padding: 30px 25px 20px;
  background: #ffffff;
  border: 1px solid #e6eeec;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(45, 52, 52, 0.06);
}

.terms-sidebar h5{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  margin-bottom: 18px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e6eeec;
}

.terms-sidebar h5 i{
  color: #006d59;
  font-size: 16px;
}

.toc-list{
  max-height: calc(100vh - 460px);
  min-height: 200px;
  overflow-y: auto;
  padding: 0 5px 0 0;
  margin: 0;
  scrollbar-width: thin;
  scrollbar-color: #b9dcd4 transparent;
}

.toc-list::-webkit-scrollbar{
  width: 4px;
}

.toc-list::-webkit-scrollbar-thumb{
  background: #b9dcd4;
  border-radius: 4px;
}

.toc-list li{
  margin-bottom: 2px;
}

.toc-list li a{
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  font-size: 15px;
  line-height: 22px;
  color: #6c7171;
  border-radius: 8px;
}

.toc-list li a .num{
  flex-shrink: 0;
  width: 28px;
  font-family: 'Gilroy_Bold', 'Open Sans', sans-serif;
  font-size: 13px;
  color: #a8b1b5;
  transition: all 300ms linear;
}

.toc-list li a:hover{
  color: #2d3434;
  background: #f0f7f5;
}

.toc-list li a.active{
  color: #006d59;
  font-weight: 600;
  background: #e6f2ef;
}

.toc-list li a.active .num{
  color: #006d59;
}

.toc-list li a.active:before{
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: #006d59;
  border-radius: 3px;
}

.terms-sidebar .help-box{
  position: relative;
  margin-top: 25px;
  padding: 30px 25px;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  background: #2d3434;
  border-radius: 12px;
  overflow: hidden;
}

.terms-sidebar .help-box:before{
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 160px;
  height: 160px;
  background: rgba(0, 109, 89, 0.18);
  border-radius: 50%;
}

.terms-sidebar .help-box .icon{
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  line-height: 60px;
  font-size: 24px;
  color: #ffffff;
  background: #006d59;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0, 109, 89, 0.4);
}

.terms-sidebar .help-box h5{
  display: block;
  color: #ffffff;
  border: none;
  padding: 0;
  margin-bottom: 8px;
}

.terms-sidebar .help-box p{
  position: relative;
  font-size: 14px;
  line-height: 1.7em;
  margin-bottom: 15px;
}

.terms-sidebar .help-box .help-link{
  position: relative;
  display: block;
  margin-bottom: 18px;
  font-family: 'Gilroy_Bold', 'Open Sans', sans-serif;
  font-size: 18px;
  color: #ffffff;
}

.terms-sidebar .help-box .help-link i{
  color: #2bb596;
  margin-right: 6px;
}

.terms-sidebar .help-box .help-link:hover{
  color: #2bb596;
}

.terms-sidebar .help-box .btn-style-one{
  padding: 8px 30px;
}

.terms-sidebar .help-box .btn-style-one:hover{
  color: #ffffff;
  border-color: #ffffff;
}

/* Content Blocks */

.terms-block{
  position: relative;
  padding: 40px 45px 20px;
  margin-bottom: 30px;
  background: #ffffff;
  border: 1px solid #e6eeec;
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(45, 52, 52, 0.05);
  transition: box-shadow 300ms ease, transform 300ms ease, border-color 300ms ease;
}

.terms-block:hover{
  border-color: #bfe0d8;
  box-shadow: 0 20px 50px rgba(45, 52, 52, 0.09);
}

.terms-block .block-head{
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px dashed #d6e5e1;
}

.terms-block .icon-box{
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  font-size: 22px;
  color: #006d59;
  background: #e6f2ef;
  border-radius: 14px;
  transition: all 300ms ease;
}

.terms-block:hover .icon-box{
  color: #ffffff;
  background: #006d59;
  box-shadow: 0 10px 25px rgba(0, 109, 89, 0.35);
}

.terms-block .head-text .num{
  display: block;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #006d59;
  margin-bottom: 4px;
}

.terms-block .head-text h3{
  font-size: 26px;
  margin: 0;
}

.terms-block .block-body{
  font-size: 16px;
  color: #5d6464;
}

.terms-block .block-body p strong{
  color: #2d3434;
}

.terms-subhead{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  margin: 30px 0 15px;
}

.terms-block .block-body > p + .terms-subhead,
.terms-block .block-body > .terms-subhead:first-child{
  margin-top: 5px;
}

.terms-subhead i{
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  font-size: 14px;
  color: #006d59;
  background: #e6f2ef;
  border-radius: 8px;
}

.terms-list{
  padding: 0;
  margin: 0 0 22px;
}

.terms-list li{
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  line-height: 1.7em;
}

.terms-list li:before{
  content: '\f00c';
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  font-family: 'Font Awesome 6 Pro';
  font-weight: 900;
  font-size: 10px;
  color: #ffffff;
  background: #006d59;
  border-radius: 50%;
}

.terms-list.grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 25px;
}

.terms-list.grid li{
  margin-bottom: 0;
  padding: 12px 15px 12px 45px;
  background: #fafafa;
  border: 1px solid #e6eeec;
  border-radius: 8px;
  margin-bottom: 12px;
}

.terms-list.grid li:before{
  left: 15px;
  top: 15px;
}

.terms-list.cross li:before{
  content: '\f00d';
  background: #2d3434;
}

.terms-note{
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 18px 22px;
  margin-bottom: 22px;
  background: #eef6f4;
  border: 1px solid #bfe0d8;
  border-radius: 10px;
}

.terms-note i{
  flex-shrink: 0;
  font-size: 20px;
  line-height: 1.6em;
  color: #006d59;
}

.terms-note p{
  margin: 0;
  color: #2d3434;
  font-weight: 600;
}

/* Contact Cards */

.terms-contact{
  margin-bottom: 10px;
}

.terms-contact > div{
  margin-bottom: 20px;
}

.terms-contact .contact-card{
  display: block;
  height: 100%;
  padding: 25px 20px;
  text-align: center;
  background: #fafafa;
  border: 1px solid #e6eeec;
  border-radius: 12px;
}

.terms-contact .contact-card i{
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  margin-bottom: 12px;
  font-size: 18px;
  color: #ffffff;
  background: #006d59;
  border-radius: 50%;
}

.terms-contact .contact-card .label{
  display: block;
  font-family: 'Gilroy_Bold', 'Open Sans', sans-serif;
  font-size: 18px;
  color: #2d3434;
  margin-bottom: 5px;
}

.terms-contact .contact-card .value{
  display: block;
  font-size: 14px;
  line-height: 1.6em;
  color: #6c7171;
  word-break: break-word;
}

.terms-contact .contact-card:hover{
  background: #ffffff;
  border-color: #bfe0d8;
  box-shadow: 0 15px 35px rgba(45, 52, 52, 0.08);
  transform: translateY(-4px);
}

/* Acknowledgement */

.terms-ack{
  position: relative;
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 35px 40px;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.8);
  background: linear-gradient(120deg, #2d3434 0%, #3d4747 100%);
  border-radius: 12px;
  overflow: hidden;
}

.terms-ack:after{
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 220px;
  height: 220px;
  background: rgba(0, 109, 89, 0.2);
  border-radius: 50%;
}

.terms-ack .ack-icon{
  position: relative;
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;
  font-size: 28px;
  color: #ffffff;
  background: #006d59;
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(0, 109, 89, 0.2);
  z-index: 1;
}

.terms-ack .ack-text{
  position: relative;
  z-index: 1;
}

.terms-ack h4{
  color: #ffffff;
  margin-bottom: 8px;
}

.terms-ack p{
  margin: 0;
}

.terms-ack p a{
  color: #2bb596;
  font-weight: 600;
  border-bottom: 1px solid rgba(43, 181, 150, 0.5);
}

.terms-ack p a:hover{
  color: #ffffff;
  border-color: #ffffff;
}

/* Responsive */

@media only screen and (max-width: 991px){
  .terms-section{
    padding: 80px 0 60px;
  }

  .terms-sidebar{
    position: relative;
    top: 0;
  }

  .toc-list{
    max-height: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 10px;
  }

  .terms-sidebar .help-box{
    display: none;
  }
}

@media only screen and (max-width: 767px){
  .inner-banner .content-box h1{
    font-size: 44px;
  }

  .terms-intro{
    margin-bottom: 45px;
  }

  .terms-intro .intro-card{
    padding: 25px;
    font-size: 16px;
  }

  .toc-list{
    grid-template-columns: 1fr;
  }

  .terms-block{
    padding: 28px 22px 10px;
  }

  .terms-block .block-head{
    gap: 15px;
  }

  .terms-block .icon-box{
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 18px;
    border-radius: 12px;
  }

  .terms-block .head-text h3{
    font-size: 21px;
  }

  .terms-list.grid{
    grid-template-columns: 1fr;
  }

  .terms-ack{
    flex-direction: column;
    text-align: center;
    padding: 30px 25px;
  }
}

/* Print */

@media print{
  .main-header,
  .hidden-bar,
  .menu-backdrop,
  .inner-banner,
  .main-footer,
  .scroll-to-top,
  .loader-wrap,
  .terms-progress,
  .toc-col,
  .terms-meta .print-btn{
    display: none !important;
  }

  .terms-section{
    padding: 0;
    background: none;
  }

  .content-col{
    flex: 0 0 100%;
    max-width: 100%;
  }

  .terms-block,
  .terms-intro .intro-card{
    box-shadow: none;
    page-break-inside: avoid;
  }
}
