/*#region Custom Page */
.ht-page {
  padding: 0;
}

.ht-container {
  position: relative;
  /* z-index: 2; */
}

a:hover {
  color: inherit;
  cursor: pointer;
}

.common-padding {
  padding: 60px 0;
}

.default-title {
  font-family: 'roboto bold', Arial, sans-serif;
  font-size: 36px;
  color: #006045;
  text-align: center;
  text-transform: uppercase;
}

.homepage img {
  max-width: 100%;
}

@media (min-width: 1600px) {
  .homepage .ht-container {
    max-width: 1590px;
  }
}

@media (max-width: 1599px) {
  .homepage .ht-container {
    max-width: 1300px;
  }
}

@media (max-width: 979px) {
  .common-padding {
    padding: 40px 0;
  }

  .default-title {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .default-title {
    font-size: 24px;
  }

  .common-padding {
    padding: 30px 0;
  }
}

/*#endregion*/

/*#region Business */
.business-wrap {
  display: flex;
  gap: 125px;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
}

.business-item {
  position: relative;
}

.business-item-content {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 24px 32px 32px 24px; 
}

.business-item-arrow {
  position: absolute;
  z-index: 2;
  bottom: 10px;
  left: 10px;
  width: 133%;
}

.business-item-3 .business-item-arrow {
  width: 95%;
}

.business-item-title {
  font-family: 'roboto bold', Arial, sans-serif;
  font-size: 20px;
  color: #009966;
  padding-bottom: 18px;
}

.business-item-desc a {
  display: block;
  font-family: 'roboto medium', Arial, sans-serif;
  font-size: 18px;
  background: url('/amis-workflow/sites/help/images/pages/home/ic-tick.svg') no-repeat top 5px left;
  background-size: 16px;
  padding-left: 22px;
  margin-bottom: 12px;
  color: #111827;
}

.business-item-image {
  width: 30%;
  margin: 0 auto 16px;
}

@media (min-width: 1600px) {
  .business-item-image {
    width: auto;
    display: flex;
    justify-content: center;
  }

  .business-item-content {
    padding: 24px 48px 32px 24px;
  }
}

@media (max-width: 1200px) {
  .business-wrap {
    gap: 32px;
  }

  .business-item-arrow {
    display: none;
  }
}

@media (max-width: 979px) {
  .business-wrap {
    display: grid;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
  }

  .business-item-bg {
    display: none;
  }

  .business-item {
    border-radius: 12px;
    background-color: #EBFFF8;
  }

  .business-item-content {
    position: relative;
    max-width: 400px;
  }

  .business-item-image {
    width: 100%;
    max-width: 120px;
  }
}
/*#endregion*/

/*#region Introduction */
.overview-wrap {
  background: url('/amis-workflow/sites/help/images/pages/home/bg-overview.png') no-repeat center center;
  background-size: cover;
  padding: 40px 80px;
  color: #FFF;
  aspect-ratio: 4.27;
}

.overview-title {
  font-family: 'roboto bold', Arial, sans-serif;
  font-size: 36px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.overview-desc {
  max-width: 1030px;
}

.overview-desc p {
  margin-bottom: 16px;
}

@media (max-width: 1599px) {
  .overview-wrap {
    padding: 12px 32px;
  }
}

@media (max-width: 1300px) {
  .overview-wrap {
    background-position: left center;
    border-radius: 50px;
  }

  .overview-desc {
    max-width: 960px;
  }
}

@media (max-width: 979px) {
  .overview-title {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .overview-wrap {
    background-position: center;
    padding: 16px;
  }

  .overview-title {
    font-size: 24px;
  }
}
/*#endregion*/

/*#region automation */
.at-title {
  font-size: 48px;
}

.at-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 1140px;
  margin: 40px auto 40px;
}

.at-nav-item {
  background-color: #F3F4F6;
  padding: 12px 16px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.at-nav-item img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.at-nav-item.active {
  background-color: #B6EED2;
  color: #009966;
}

.at-nav-item.active img {
  filter: invert(49%) sepia(99%) saturate(747%) hue-rotate(99deg) brightness(92%) contrast(101%);
}

.at-content-item {
  max-width: 1200px;
  margin: 0 auto;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.at-content-text {
  max-width: 540px;
}

.at-content-item.active {
  display: flex;
}


.auto-btn a {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  padding: 12px 40px;
  border-radius: 24px;
  background-color: #EA580C;
  color: #FFF;
  font-family: 'roboto medium', Arial, sans-serif;
  font-size: 14px;

}


@media (max-width: 1300px) {

  .at-content-image {
    width: 50%;
    flex-shrink: 0;
  }
}

@media (max-width: 979px) {
  .at-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .at-content-item {
    flex-direction: column;
    gap: 24px;
  }

  .at-content-text {
    max-width: 100%;
  }

  .at-content-image {
    display: flex;
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .at-nav {
    grid-template-columns: repeat(1, 1fr);
    margin: 24px auto 16px;
  }
}

/*#endregion */

/* region video  */
.video.common-padding {
  padding: 60px 0;
}
.video {
  position: relative;
  z-index: 2;
}
.video-main > div {
  position: relative;
}
.video-main > div > a {
  cursor: pointer;
  display: block;
  background-color: rgba(255, 255, 255, 0.26);
  padding: 24px;
  border-radius: 30px;
  border: 1px solid #fff;
}
.video-main .hover-video img {
  position: absolute;
  top: calc(50% - 73px);
  left: calc(50% - 50px);
  z-index: 1;
}

.video-main-title {
  color: #fff;
  border-radius: 0px 0px 8px 8px;
  padding: 16px 0;
  font-family: Roboto Bold, Arial, sans-serif;
  font-size: 18px;
}

.small-video-ctn {
  display: flex;
  width: 100%;
  padding: 10px;
  border: 4px;
  cursor: pointer;
}
.small-video-ctn > a {
  width: 35%;
  height: fit-content;
  position: relative;
  display: block;
  background-color: rgba(255, 255, 255, 0.26);
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #fff;
}
.small-video-ctn > div {
  width: 65%;
  padding-left: 16px;
  color: #fff;
}
.video-text > a {
  color: #fff;
}
.small-video-ctn .hover-video > img {
  width: 35px;
  top: calc(50% - 17.5px);
  left: calc(50% - 17.5px);
}

.video-list {
  overflow: auto;
  padding: 0;
  height: 555px;
}

.video-container {
  background: #0AC190;
  padding: 24px 24px 0 !important;
  border-radius: 20px;
  margin-top: 40px;
  /* height: 467px; */
}

.small-video-ctn.active {
  color: #3d4251;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
}

.small-video-ctn > a > img {
  border-radius: 4px;
  filter: brightness(0.9);
}
.video-main > div > a > img {
  border-radius: 8px 8px 0px 0px;
  filter: brightness(0.9);
}

.video-watch-more a {
  float: right;
  color: #308B2E;
  font-size: 20px;
  padding-top: 15px;
}

.video-text-title {
  font-family: 'roboto bold', Arial, sans-serif;
  font-size: 18px;
  padding-bottom: 8px;
}

@media (max-width: 1599px) {
  .video-list {
    height: 445px;
  }
}

@media screen and (max-width: 979px) {
  .video-main {
    padding-bottom: 15px;
  }
  .video-container {
    height: 100%;
    padding: 16px !important;
    margin-top: 30px;
  }
  
}
@media screen and (max-width: 767px) {
  .video-main .tab-pane .hover-video img {
    position: absolute;
    top: calc(50% - 50px);
    left: calc(50% - 25px);
    width: 50px;
  }
  .video-list {
    overflow: auto;
    padding: 0;
    height: 300px;
  }
  .video.common-padding {
    padding: 40px 0;
  }

    .video-main-title, .video-text-title {
      font-size: 16px;
    }

    .video-text-desc {
      font-size: 14px;
    }
}
/* endregion  */

/*#region other */
.other-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.other-item {
  background-color: #FFF;
  border: 1px solid #009966;
  text-align: center;
  padding: 50px;
  border-radius: 20px;
}

.other-item-icon {
  width: 200px;
  height: 200px;
  margin: 0 auto;
}

.other-item-title {
  font-family: 'roboto bold', Arial, sans-serif;
  font-size: 28px;
  color: #111827;
  margin: 40px 0;
}

.other-item-cta {
  width: fit-content;
  margin: 0 auto;
  background: linear-gradient(90deg, #00A67A 0%, #02E2A0 100%);
  border-radius: 50px;
  padding: 12px 40px;
  color: #FFF;
  font-family: 'roboto medium', Arial, sans-serif;
}

@media (max-width: 979px) {
  .other-item {
    padding: 30px;
  }

  .other-item-icon {
    width: 120px;
    height: 120px;
  }

  .other-item-title {
    font-size: 24px;
    margin: 24px 0;
  }

  .other-item-cta {
    padding: 12px 32px;
  }
}

@media (max-width: 767px) {
  .other-wrap {
    grid-template-columns: repeat(1, 1fr);
  }

  .other-item {
    padding: 24px;
  }
}
/*#endregion*/
