@media screen and (max-width:640px) {
body, html {
    overflow-x: hidden;
}
}

/********** Template CSS **********/
:root {
  --primary: #e32f45;
  --secondary: #e32f45;
  --light: #f0f6ff;
  --dark: #262b47;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Heading ***/
h1,
h2,
.fw-bold {
  font-weight: 700 !important;
}

h3,
h4,
.fw-semi-bold {
  font-weight: 600 !important;
}

h5,
h6,
.fw-medium {
  font-weight: 500 !important;
}

/*** Gradient Text & BG ***/
.text-primary-gradient {
  background: linear-gradient(
    to bottom right,
    var(--primary),
    var(--secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-secondary-gradient {
  background: linear-gradient(
    to bottom right,
    var(--secondary),
    var(--primary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-primary-gradient {
  background: linear-gradient(
    to bottom right,
    var(--primary),
    var(--secondary)
  );
}
.bg-primary-gradient-agent{
  background: linear-gradient(
    to bottom right,
    #b400bb,
    #560159
  );
}
.bg-primary-gradient-customer{
  background: linear-gradient(
    to bottom right,
    #112277,
    #0b1757
  );
}

.bg-secondary-gradient {
  background: linear-gradient(
    to bottom right,
    var(--secondary),
    var(--primary)
  );
}

/*** Button ***/
.btn {
  transition: 0.5s;
   /* color: #0eed0e;  */   
}

.btn.btn-primary-gradient,
.btn.btn-secondary-gradient {
  position: relative;
  overflow: hidden;
  border: none;
  color: #ffffff;
  z-index: 1;
}
.btn-readmore:hover {
  background-color: #f7b0b8;
  color: #e32f45;
}

.btn.btn-primary-gradient::after,
.btn.btn-secondary-gradient::after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: 0.5s;
  z-index: -1;
  opacity: 0;
}

.btn.btn-primary-gradient,
.btn.btn-secondary-gradient::after {
  background: linear-gradient(
    to bottom right,
    var(--primary),
    var(--secondary)
  );
}

.btn.btn-secondary-gradient,
.btn.btn-primary-gradient::after {
  background: linear-gradient(
    to bottom right,
    var(--secondary),
    var(--primary)
  );
}

.btn.btn-primary-gradient:hover::after,
.btn.btn-secondary-gradient:hover::after {
  opacity: 0.5;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 50px;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
  border: none;
  background-color: #ffffff;
  box-shadow: 5px 10px 18px rgba(0, 0, 0, 0.3);
}

.btn-readmore {
  background-color: #ffffff;
  color: #e32f45;
}
.btn-contactus {
  color: #ffffff;
}

/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
  position: relative;
  margin-right: 5rem;
  padding: 45px 0;
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--light) !important;
  outline: none;
  transition: 0.5s;
}

.navbar-light .navbar-nav .nav-link::before {
  position: absolute;
  content: '';
  width: 0;
  height: 0;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  border: 10px solid;
  border-color: var(--light) transparent transparent transparent;
  transition: 0.5s;
  
}

.sticky-top.navbar-light .navbar-nav .nav-link {
  padding: 20px 0;
  color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover::before,
.navbar-light .navbar-nav .nav-link.active::before {
  top: 0;
}

.navbar-light .navbar-brand h1 {
  color: #ffffff;
}

.navbar-light .navbar-brand img {
  /* max-height: 70px; */
  /* background-color: #e32f45; */
  
  padding: 10px;
  border-radius: 18px;
  transition: 0.5s;
}

.sticky-top.navbar-light .navbar-brand img {
  /* max-height: 45px; */
 filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(2954%) hue-rotate(339deg) brightness(95%) contrast(88%);
}

@media (max-width: 991.98px) {
  .sticky-top.navbar-light {
    position: relative;
    background: #ffffff;
  }

  .navbar-light .navbar-collapse {
    margin-top: 15px;
    border-top: 1px solid #dddddd;
  }

  .navbar-light .navbar-nav .nav-link,
  .sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 10px 0;
    margin-left: 0;
    color: var(--dark) !important;
  }

  .navbar-light .navbar-nav .nav-link::before {
    display: none;
  }

  .navbar-light .navbar-nav .nav-link:hover,
  .navbar-light .navbar-nav .nav-link.active {
    color: var(--primary) !important;
  }

  .navbar-light .navbar-brand h1 {
    background: linear-gradient(
      to bottom right,
      var(--primary),
      var(--secondary)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .navbar-light .navbar-brand img {
    /* max-height: 45px; */
   filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(2954%) hue-rotate(339deg) brightness(95%) contrast(88%);
    width: 15%;
  }
}

@media (min-width: 992px) {
  .navbar-light {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
  }

  .sticky-top.navbar-light {
    position: fixed;
    background: #ffffff;
  }

  .sticky-top.navbar-light .navbar-nav .nav-link::before {
    border-top-color: var(--primary);
  }

  .sticky-top.navbar-light .navbar-brand h1 {
    background: linear-gradient(
      to bottom right,
      var(--primary),
      var(--secondary)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

/*** Hero Header ***/
.hero-header {
  padding: 13rem 0 0 0;
  background:   
    url(https://renambl.blr1.cdn.digitaloceanspaces.com/ypay/website/bg-bottom.png),
    linear-gradient(to bottom right, var(--primary), var(--secondary));
  background-position: left 0px top 0px, right 0px top 50%, center bottom;
  background-repeat: no-repeat;
  background-size:cover;
}
@media screen and (max-width:640px) {
.hero-header {
    padding: 5rem 0 0 0;
}
}

/*** Feature ***/
.feature-item {
  transition: 0.5s;
}

.feature-item:hover {
  margin-top: -15px;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
}

@media screen and (max-width:640px) {
#feature {
    position: relative;
    bottom: 7rem;
}
}

/*** Pricing ***/
.pricing .nav {
  padding: 2px;
}

.pricing .nav-link {
  padding: 12px 30px;
  font-weight: 500;
  color: var(--dark);
  background: #ffffff;
}

.pricing .nav-item:first-child .nav-link {
  border-radius: 30px 0 0 30px;
}

.pricing .nav-item:last-child .nav-link {
  border-radius: 0 30px 30px 0;
}

.pricing .nav-link.active {
  color: #ffffff;
  background: linear-gradient(
    to bottom right,
    var(--primary),
    var(--secondary)
  );
}

/*** Screenshot ***/
.screenshot-carousel {
  position: relative;
  width: 253px;
  height: 500px;
  padding: 15px;
  margin-right: 30px;
}

.screenshot-carousel::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url(https://renambl.blr1.cdn.digitaloceanspaces.com/ypay/website/screenshot-frame.png) center center no-repeat;
  background-size: 253px 500px;
  z-index: 1;
}

.screenshot-carousel .owl-item img {
  position: relative;
  width: 223px;
  height: 470px;
}

.screenshot-carousel .owl-dots {
  position: absolute;
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.screenshot-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 5px 0;
  width: 15px;
  height: 15px;
  background-color: #f77484;
  border-radius: 15px;
  transition: 0.5s;
}

.screenshot-carousel .owl-dot::after {
  position: absolute;
  content: '';
  width: 5px;
  height: 5px;
  top: 5px;
  left: 5px;
  background: #ffffff;
  border-radius: 5px;
}

.screenshot-carousel .owl-dot.active {
  box-shadow: 0 0 10px var(--dark);
}

@media screen and (max-width:640px) {
#screenshot {
    position: relative;
    bottom: 14rem;
}
}

/*** how it works ***/
@media screen and (max-width:640px) {
#how-it-works {
    position: relative;
    bottom: 20rem;
}
}
/*** download ***/
@media screen and (max-width:640px) {
#download {
    position: relative;
    bottom: 20rem;
}
}



/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
  background: linear-gradient(
    to bottom right,
    var(--primary),
    var(--secondary)
  );
}

.testimonial-carousel .owl-item.center .testimonial-item h5,
.testimonial-carousel .owl-item.center .testimonial-item p {
  color: #ffffff !important;
}

.testimonial-carousel .owl-nav {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  margin: 0 12px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(
    to bottom right,
    var(--primary),
    var(--secondary)
  );
  border-radius: 60px;
  font-size: 18px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  background: linear-gradient(
    to bottom right,
    var(--secondary),
    var(--primary)
  );
}



@media screen and (max-width:640px) {
#review {
    position: relative;
    bottom: 20rem;
}
}

/*** Faq ***/
@media screen and (max-width:640px) {
#faq {
    position: relative;
    bottom: 20rem;
}
}

/*** contact ***/
@media screen and (max-width:640px) {
#contact {
    position: relative;
    bottom: 20rem;
}
}

/*** associate-partners ***/

@media screen and (max-width:640px) {
#associate-partners {
    position: relative;
    bottom: 12rem;
}
}


/*** Footer ***/


.footer {
  padding-top: 14rem;
  background: url(https://renambl.blr1.cdn.digitaloceanspaces.com/ypay/website/bg-circle.png), url(https://renambl.blr1.cdn.digitaloceanspaces.com/ypay/website/bg-triangle.png),
    url(https://renambl.blr1.cdn.digitaloceanspaces.com/ypay/website/bg-top.png),
    linear-gradient(to bottom right, var(--primary), var(--secondary));
  background-position: left 0px bottom 0px, right 0px top 50%, center top;
  background-repeat: no-repeat;
  background-size: contain;
}

.footer .btn.btn-social {
  margin-right: 5px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid rgba(256, 256, 256, 0.1);
  border-radius: 40px;
  transition: 0.3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  text-align: left;
  color: var(--light);
  font-weight: normal;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 14px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--light);
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

/*** my changes***/

.home-text {
  color: #e32f45;
  z-index: 1;
 
}
.bg-home-text {
  background-color: #ffffff;
  box-shadow: 5px 10px 18px rgba(0, 0, 0, 0.3);
  border: solid 1px #e32f45;
}
.bg-home-text-coming-soon {
  background-color: #ffffff;
  box-shadow: 5px 10px 18px rgba(0, 0, 0, 0.3);
}
.box{
  width: 100%;
  height: 100%;
  /* margin-left: 13px; */
  position: absolute;
  background-color: rgba(0, 0, 0, 0.669);
  top: 0;
  left: 0;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  padding: 10px;
    /* for demo purpose  */
}
.stack-top{
  z-index: 9;
 /* for demo purpose  */
}
.home-text-agent{
  color: #b400bb;
}
.home-text-customer{
  color: #112277;
}
/*  -----  */

.accordion__heading {
  margin-bottom: 1rem;
  padding: 0 1.4rem;
  text-align: center;
}

.accordion__item:not(:last-child) {
  border-bottom: 1px solid lightgrey;
}

.accordion__btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.2rem 1.4rem;
  background: white;
  border: none;
  outline: none;
  color: var(--color-text);
  font-size: 1.2rem;
  text-align: left;
  cursor: pointer;
  transition: 0.1s;
}
.accordion__btn:hover {
  color: var(--color-purple);
  background: hsl(248, 53%, 97%);
}

.accordion__item--active .accordion__btn {
  color: var(--color-purple);
  border-bottom: 2px solid var(--color-purple);
  background: hsl(248, 53%, 97%);
}

.fa-lightbulb {
  padding-right: 1rem;
}
.accordion__icon {
  border-radius: 50%;
  transform: rotate(0deg);
  transition: 0.3s ease-in-out;
  opacity: 0.9;
  color: #e32f45;
}
.accordion__item--active .accordion__icon {
  transform: rotate(135deg);
}

.accordion__content {
  font-weight: 300;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  color: var(--color-text-muted);
  transform: translateX(16px);
  transition: max-height 0.5s ease, opacity 0.5s, transform 0.5s;
}
.accordion__content p {
  padding: 1rem 1.8rem;
}

.accordion__item--active .accordion__content {
  opacity: 1;
  transform: translateX(0px);
  max-height: 100vh;
}

/* Slider */
section .clients {
  padding: 60px 0;
  overflow: hidden;
}

.clients {
  padding-top: 20px;
}

.clients .swiper-slide img {  
  transition: 0.3s;
}

.clients .swiper-slide img:hover {
  filter: none;
  opacity: 1;
}

.clients .swiper-pagination {
  margin-top: 40px;
  position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  background-color: #ddd;
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #e32f45;
}

input[type=text]:disabled {
  background: none;
  border:none;
  color:black;  
}

#success-show{
  display: none;
  
}

#danger-show{
  display: none;
 
}

.show{
  display: block !important;
  /* transition: ease-in-out 1s !important  ; */
}

.icon{
  margin-top: 7px;
}
