/* Installment Payment Page Styles.
   Faithful port of the original Acepay landing_1click.css rules used by
   the "gioi-thieu-thanh-toan-tra-gop" (trả góp 0%) page, so the page keeps
   the original background images, layout and look. */

/* Banner hero (original background: banner-tragop.jpg) */
.banner-top {
  background: #6babc7 url(../../images/landing/banner-tragop.jpg) no-repeat center;
  background-size: cover;
}
.banner-top .bt-text {
  padding: 364px 0 80px 0;
  background: rgba(0, 0, 0, 0.3);
}
.banner-top .bt-text p {
  color: #fff;
  font-size: 20px;
  margin-bottom: 10px;
}
.banner-top .bt-text h1 {
  margin: 0 0 20px 0;
  color: #fff;
  font-size: 50px;
  font-weight: lighter;
}
.banner-top .bt-text button,
.banner-top .bt-text a {
  background: #00b0ff;
  text-transform: uppercase;
  border: 0;
  border-radius: 5px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  text-decoration: none;
  display: inline-block;
}

/* Generic boxes */
.box-all {
  padding: 60px 0 60px;
}
.box-all .box-img img {
  width: 100%;
}
.box-all .box-text h2 {
  font-size: 36px;
  color: #333;
  font-weight: lighter;
  margin-top: 0px;
}
.box-all .box-text p {
  color: #333;
}
.box-all .box-text i {
  margin-right: 10px;
  font-size: 10px;
  float: left;
  padding-top: 6px;
}
.box-all .box-text p label {
  margin-bottom: 0;
}
.box-all .box-text a {
  margin-left: 0px;
  text-decoration: underline;
  color: #333;
  display: inline-block;
}

/* Box titles */
.box-title {
  text-align: center;
  margin-bottom: 30px;
}
.box-title h2 {
  font-size: 36px;
  color: #333;
  font-weight: lighter;
}

/* Applicable products (original background: bg-visa.png) */
.box-card {
  background: url(../../images/landing/bg-visa.png) no-repeat;
  padding: 50px 0;
}
.box-card .box-images {
  text-align: center;
}
.box-card .box-images img {
  max-width: 100%;
  height: auto;
}
.box-card .box-text {
  text-align: right;
  padding-left: 120px;
}
.box-card .box-text p {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  color: #1d7298;
}

/* Testimonials */
.box-user .bu-detail .bud-top {
  margin-bottom: 20px;
}
.box-user .bu-detail .bud-top img {
  max-width: 100%;
  height: auto;
}
.box-user .bu-detail .bud-center p {
  position: relative;
  padding: 25px 0px;
  color: #333;
}
.box-user .bu-detail .bud-center p::before {
  content: '\f10d';
  position: absolute;
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 22px;
  color: #c1c1c1;
  top: 0;
  left: 0;
}
.box-user .bu-detail .bud-center p::after {
  content: '\f10e';
  position: absolute;
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 22px;
  color: #c1c1c1;
  bottom: 0;
  right: 0;
}
.box-user .bu-detail .bud-bottom {
  margin-top: 10px;
}
.box-user .bu-detail .bud-bottom label {
  font-weight: bold;
  margin: 0;
}
.box-user .bu-detail .bud-bottom p {
  margin: 0;
  color: #333;
}

/* Installment value props */
.box-installment {
  background: #f9f9f9;
}
.box-installment .box-images img {
  width: 100%;
}
.box-installment .box-text {
  padding-top: 20px;
}
.box-installment .box-text h2 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #333;
  font-size: 32px;
  font-weight: lighter;
}
.box-installment .box-text p {
  color: #333;
  font-size: 14px;
  margin-bottom: 5px;
}

/* Easy integration */
.box-connect .box-images img {
  width: 100%;
}
.box-connect .box-text {
  padding-top: 100px;
}
.box-connect .box-text h2 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #333;
  font-size: 32px;
  font-weight: lighter;
}
.box-connect .box-text p {
  color: #333;
  font-size: 14px;
  margin-bottom: 5px;
}

/* List icons (steps + reasons use shared .bl-detail/.bld-*) */
.box-listicon {
  text-align: center;
}
.box-listicon .container {
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  padding: 25px 0;
}
.box-listicon .bl-detail .bld-img,
.box-integrated .bl-detail .bld-img {
  margin-bottom: 15px;
}
.box-listicon .bl-detail .bld-img img,
.box-integrated .bl-detail .bld-img img {
  max-width: 100%;
  height: auto;
}
.box-listicon .bl-detail .bld-text label {
  text-decoration: underline;
  font-weight: bold;
  color: #139eff;
  font-size: 14px;
}
.box-listicon .bl-detail .bld-text p {
  font-size: 14px;
  color: #333;
}

/* Final CTA detail box (original background: banner_4.png) */
.box-detail {
  padding: 34px 0;
}
.box-detail .box-titles h3 {
  font-size: 24px;
  color: #fff;
  margin: 0 0 30px 0;
  font-weight: lighter;
}
.box-detail .box-text button,
.box-detail .box-text a {
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  text-decoration: none;
  outline: none;
  padding: 8px 25px;
  background: #ee9618;
  border-radius: 5px;
  border: 1px solid #ee9618;
  font-weight: bold;
  box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.3);
}
.bg-img1 {
  background: #15c1f8 url(../../images/landing/banner_4.png) no-repeat center bottom;
  padding: 50px 0px;
}

/* Buyer UI feature */
.box-deal {
  background: #f9f9f9;
}
.box-deal .box-images img {
  width: 100%;
}
.box-deal .box-text {
  padding-top: 150px;
  padding-bottom: 100px;
}
.box-deal .box-text h2 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #333;
  font-size: 32px;
  font-weight: lighter;
}
.box-deal .box-text p {
  color: #333;
}
.box-deal .box-text button,
.box-deal .box-text a {
  color: #fff;
  border: 0;
  border-radius: 5px;
  background: #00b0ff;
  text-transform: uppercase;
  outline: none;
  text-decoration: none;
  padding: 10px 15px;
  margin-top: 15px;
  display: inline-block;
}

/* Stats */
.box-budget .bb-detail {
  padding: 0 15px;
}
.box-budget .bb-detail .box-percent {
  display: inline-block;
  width: 100%;
}
.box-budget .bb-detail .box-percent h3 {
  margin: 0 0 10px 0;
  font-size: 50px;
  font-weight: bold;
}
.text-blue {
  color: #00479d;
}
.text-red {
  color: #e23b25;
}
.bg-blue {
  background: #00479d;
}
.bg-red {
  background: #e23b25;
}
.box-budget .bb-detail .box-percent .bp-per {
  position: relative;
  display: inline-block;
  width: 90%;
}
.box-budget .bb-detail .box-percent .bp-per .per-full {
  position: absolute;
  width: 100%;
  height: 5px;
  border-radius: 20px;
  background: #d3d3d3;
  bottom: 0;
  left: 0;
}
.box-budget .bb-detail .box-percent .bp-per .per {
  position: absolute;
  height: 5px;
  border-radius: 20px;
  bottom: 0;
  left: 0;
  z-index: 2;
}
.box-budget .bb-detail .box-content {
  margin-top: 10px;
}
.box-budget .bb-detail .box-content .bc-img {
  width: 78px;
  height: 64px;
  float: left;
}
.box-budget .bb-detail .box-content .bc-img img {
  max-width: 100%;
  height: auto;
}
.box-budget .bb-detail .box-content .bc-text {
  margin-left: 90px;
}
.box-budget .bb-detail .box-content .bc-text p {
  color: #333;
}

/* Reasons to integrate */
.box-integrated .bl-detail {
  margin-bottom: 20px;
}
.box-integrated .bl-detail .bld-img {
  margin-bottom: 10px;
}
.box-integrated .bl-detail .bld-text label {
  color: #333;
  font-size: 14px;
  font-weight: bold;
}

/* Logo slides (original owl carousels replaced by an auto-scrolling marquee) */
.installment-logos {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.installment-logos__track {
  display: flex;
  width: max-content;
  animation: installment-slide 75s linear infinite;
}
.installment-logos__group {
  display: flex;
}
.installment-logos:hover .installment-logos__track {
  animation-play-state: paused;
}
.installment-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 96px;
  padding: 10px;
}
.installment-logo img {
  max-width: 170px;
  max-height: 76px;
  object-fit: contain;
}

@keyframes installment-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Bootstrap 3 shims used by the original markup */
.col-xs-12 {
  width: 100%;
}
.pull-right {
  float: right;
}
.pull-left {
  float: left;
}

/* Responsive */
@media (max-width: 1199px) {
  .box-card .box-text {
    padding-left: 0px;
  }
  .box-deal .box-text {
    padding-bottom: 50px;
  }
}

@media (max-width: 991px) {
  .box-connect .box-text {
    padding: 0 15px;
    width: 100%;
  }
  .box-card .box-images {
    text-align: center;
    margin-bottom: 24px;
  }
  .box-budget .bb-detail {
    margin-bottom: 50px;
  }
  .box-card .box-text {
    text-align: center;
    padding-left: 0px;
  }
  .box-deal .box-text {
    padding-top: 60px;
  }
}

@media (max-width: 767px) {
  .banner-top .bt-text h1 {
    font-size: 45px;
  }
  .box-listicon .bl-detail,
  .box-integrated .bl-detail {
    width: 50%;
    padding: 0 25px;
  }
  .box-deal .box-text {
    padding-bottom: 0px;
    padding-top: 40px;
  }
}

@media (max-width: 676px) {
  .box-detail .box-titles h3 {
    font-size: 20px;
  }
  .banner-top .bt-text h1 {
    font-size: 40px;
  }
}

@media (max-width: 533px) {
  .banner-top .bt-text h1 {
    font-size: 30px;
  }
  .banner-top .bt-text {
    padding: 260px 0 80px 0;
  }
  .box-all {
    padding: 0px 0 60px;
  }
}

@media (max-width: 414px) {
  .banner-top .bt-text {
    padding: 80px 0 80px 0;
  }
  .banner-top .bt-text h1 {
    font-size: 25px;
  }
}

@media (max-width: 360px) {
  .box-listicon .bl-detail,
  .box-integrated .bl-detail {
    width: 100%;
  }
  .banner-top .bt-text p {
    font-size: 17px;
  }
  .banner-top .bt-text h1 {
    font-size: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner-top,
  .box-card,
  .bg-img1 {
    background-attachment: scroll;
  }
  .installment-logos__track {
    animation: none;
  }
}
