:root {
  --primary-color: #03204A;
  --secondary-color: #E7BA3A;
}

@media screen and (min-width: 767px) {
  /* width */
  ::-webkit-scrollbar {
    width: 4px;
    height: 6px;
  }

  /* Track */
  ::-webkit-scrollbar-track {
    background: #f1f1f1;
  }

  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: rgb(168, 168, 168);
  }

  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #555;
  }

 
}

a {
  text-decoration: none;
  color: #ffffff;
  transition: all .5s;
}

a:hover {
  color: var(--secondary-color);
}


h1, h2 {
  font-family: "SharpGroteskSmBold";
}

.bg-gray {
  background-color: #f3f3f3;
}

.bg-primary {
  background-color: var(--primary-color) !important;
  color: #ffffff;
}

.bg-gray-gradient-bottom {
  background: linear-gradient(to bottom, white 50%, #f3f3f3 50%);
}

.bg-gray-gradient-top {
  background: linear-gradient(to top, white 50%, #f3f3f3 50%);
}

.w-80 {
  width: 80% !important;
}

header {
  background-color: var(--primary-color) !important;
}

body {
  scroll-behavior: smooth;
  font-family: 'SharpGrotesk', sans-serif;
  color: var(--primary-color);
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
 color: var(--secondary-color) !important;
}

.navbar {
  background-color: transparent;
  z-index: 99;
}

.navbar-sticky {
  background-color: var(--primary-color) !important;
}

.bank-logo img {
  width: 120px;
  height: auto;
  transition: transform 0.3s ease;
}

.bank-logo img:hover {
  transform: scale(1.05);
}

.navbar-brand img {
  width: 140px;
}

#scrollTopBtn {
  position: fixed; 
  bottom: 20px; 
  right: 20px; 
  display: none; 
  z-index: 1000;
  width: 50px;
  height: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: var(--secondary-color);
  color: var(--primary-color);

}

.navbar-sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.7s ease-in-out;
}

#mainNav ul li a:hover {
  color: var(--secondary-color);
}

#mainNav ul li.register {
  border: 1px solid #ffffff;
  border-radius: 8px;
}

@keyframes slideDown {
  from {
    top: -100px;
  }
  to {
    top: 0;
  }
}

@media (max-width: 768px) {
  .bank-logo {
    flex: 0 0 100%;
    text-align: center;
  }
  .navbar-brand img {
    width: 120px;
  }

  #main-swiper {
    width: 100%;
    height: auto !important;
    margin-top: 0px !important;
  }
  
  #main-swiper .swiper-slide img {
    object-fit: unset !important;
    width: 150% !important;
    height: auto !important;
  }
}

#main-swiper {
  width: 100%;
  height: 100vh; /* Full screen height */
  margin-top: -74.76px;
  background-color: var(--primary-color);
}

#main-swiper .swiper-wrapper {
  background-image: url("../img/isotipo.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  margin-top: 50px;
}

/* Estilos para pantallas pequeñas (modo celular) */
@media (max-width: 768px) {
  #main-swiper .swiper-wrapper {
    background-size: cover;      /* Asegura que la imagen cubra todo el contenedor */
    background-position: center; /* Centra la imagen */
    height: auto;               /* Ajusta el alto según lo que necesites */
  }
}


#main-swiper .swiper-pagination-horizontal, #comunity-swiper .swiper-pagination-horizontal {
  bottom: 40px !important;
}

#main-swiper .swiper-pagination-bullet, #comunity-swiper .swiper-pagination-bullet {
  background: white !important;
}

#main-swiper .swiper-pagination-bullet-active, #comunity-swiper .swiper-pagination-bullet-active {
  background: var(--secondary-color) !important;
}

.bank-swiper {
  width: 100%;
  height: 100vh; /* Full screen height */
}

#bank-swiper .swiper-slide img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.associated-banks {
  background: var(--secondary-color);
  border-radius: 10px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 320px;
  margin: auto;
  margin-top: -30px;
  z-index: 99;
  position: relative;
  font-weight: bold;
  font-size: 2rem;
}

#info-swiper {
  margin: 0px 90px;
}

#info-swiper .swiper-slide img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  #info-swiper {
    margin: 0px;
  }
}

.footer {
  background-color: var(--primary-color);
  padding: 60px 0px;
  color: #ffffff;
}

.footer .logo {
  width: 240px;
}

.footer ul {
  list-style: none;
  padding-left: 0;
}

.footer .social-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.footer .social-icons i {
  color: var(--secondary-color);
  font-size: 1.4rem;
}

.btn-primary {
  border: none;
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.btn-short {
  padding: 4px 10px;
}

.btn-big {
  padding: 10px 60px;
}

.calculator {
  background: var(--primary-color);
  color: #ffffff;
  border-radius: 100px;
  text-align: center;
  padding: 60px 0px;
  width: 90%;
  margin: auto;
}

.bg-coins-left {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 90;
  width: 340px;
  height: 340px;
  background-image: url("../img/coin.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: -50px -50px;
}

.bg-coins-left1 {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 90;
  width: 340px;
  height: 340px;
  background-image: url("../img/coin.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: -50px -50px;
}

.bg-coins-right {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 90;
  width: 440px;
  height: 440px;
  background-image: url("../img/coin.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 80px 80px;
}

.calculator form {
  position: relative;
  width: 50%;
  margin: auto;
}

@media (max-width: 767px) {
  .calculator {
    border-radius: 40px;
    width: 100%;
  }
  
  .calculator form {
    width: 80%;
  }

  .bg-coins-left {
    width: 220px;
    height: 220px;
    background-position: -70px -35px;
  }

  .bg-coins-right {
    width: 220px;
    height: 220px;
    background-position: 70px 80px;
  }

    .bg-coins-left1 {
    width: 220px;
    height: 220px;
    background-position: -85px -35px;
  }

  
}

.calculator form .btn-compute {
  position: absolute;
  right: 24%;
  top: 52px;
  width: 60px;
  height: 60px;
  padding: 0;
  border: none;
  background: transparent;
}

.calculator .field {
  background: #f3f3f3;
  border-radius: 16px;
  color: var(--primary-color);
  display: flex;
  height: 84px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.calculator .field .left {
  background: var(--secondary-color);
  width: 5%;
  height: 100%;
  border-radius: 16px 0px 0px 16px;
}

.calculator .field .center {
  width: 65%;
  height: 100%;
  align-items: center;
  justify-content: center;
  display: flex;
}

.calculator .field .center input {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  width: 100%;
  padding: 20px;
}

.calculator .field .center input:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

.calculator .field .right {
  background: var(--secondary-color);
  width: 30%;
  height: 100%;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.comunity {
  background: var(--primary-color);
  color: #ffffff;
  border-radius: 100px;
  text-align: center;
  padding: 60px 120px;
}

.comunity .comment {
  position: relative;
}

.comunity .comment .name {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  width: 75%;
  margin: auto;
  border-radius: 10px;
  font-weight: bold;
  padding: 4px;
  margin-bottom: 20px;
}

.comunity .comment .pic-user {
  width: 100px;
  margin-bottom: 20px;
}

.comunity .comment .score {
  color: var(--secondary-color);
}

@media (max-width: 767px) {
  .comunity {
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 40px;
    text-align: center;
    padding: 40px 40px;
  }
}

.how-works {
  background-color: var(--primary-color);
  position: relative;
  
  margin-bottom: 60px;
  background-image: url("../img/isotipo.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;

}

.how-works .hand {
  position: absolute;
  bottom: -60px;
  width: 54%;
  margin-top: 40px;
}

@media (min-width: 1902px) {
  .how-works .hand {
    width: 44%;
  }
}

@media (max-width: 767px) {
  .how-works .hand {
    display: none;
  }
  .steps-wrap {
    margin-left: 0px !important;
  }

  .steps-wrap .step {
    justify-content: center !important;
  }

  .steps-wrap .step .center {
    width: 60% !important;
  }
}

.steps-wrap {
  margin-left: 20%;
}

.steps-wrap .step {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}

.steps-wrap .step .left {
  width: 30px;
  font-size: 2rem;
  color: var(--secondary-color);
  font-family: "SharpGroteskSmBold";
}

.steps-wrap .step .center {
  width: 40%;
  font-size: 2rem;
  line-height: normal;
}

.steps-wrap .step .right button {
  font-size: 2rem;
  background: transparent;
  border: none;
  color: var(--secondary-color);
}

.modal-step {
  padding: 0;
  background-color: transparent;
  background: transparent;
}

.modal-step .btn-close {
  position: absolute;
  right: 0;
  padding: 10px;
}


#benefit-swiper .benefit-item {
  position: relative;
  padding: 10px 10px 10px 70px;
  border-radius: 24px;
  border: 1px solid #ffffff;
  min-height: 140px;
  margin-left: 60px;
}

#benefit-swiper .benefit-item h5 {
  font-family: SharpGroteskMedium;
}

#benefit-swiper .img-wrap {
  position: absolute;
  width: 124px;
  top: 0;
  left: -66px;
}

.btn-whatsApp {
  position: absolute;
  width: 60px;
  height: 60px;
  top: 0;
  z-index: 99;
  right: 200px;
}

.tooltip {
  opacity: 1 !important;
}

.tooltip-inner {
  background-color: transparent !important;
  color: black !important;
  padding: 0 !important;
  border: none !important;
  font-weight: bold;
}

.tooltip.bs-tooltip-top .tooltip-arrow::before,
.tooltip.bs-tooltip-bottom .tooltip-arrow::before,
.tooltip.bs-tooltip-start .tooltip-arrow::before,
.tooltip.bs-tooltip-end .tooltip-arrow::before {
  border: none !important;
}


@media (max-width: 768px) {
  .main-cover {
    padding: 50px 0;
  }
}

.btn-whatsApp1 {
  position: absolute;
  width: 60px;
  height: 60px;
  top: 0;
  z-index: 99;
  right: 200px;
  top:-25px;
}