body {
  font-size: 15pt;
  font-weight: 500;
  background-color: var(--bs-dark-grey);
}

html {
  scroll-behavior: smooth;
}

.wallet-section {
  background: white;
}

.wallet-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wallet-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #f1f5f9;
}

.wallet-features li i {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.btn-wallet {
  background: linear-gradient(90deg, var(--bs-orange), #f09517);
  border: none;
  color: #111;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(255, 138, 0, 0.18);
}

.wallet-mockup {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.phone {
  width: 260px;
  height: 500px;
  border-radius: 30px;
  background: linear-gradient(
    180deg,
    var(--bs-dark-grey) 0%,
    var(--bs-medium-grey) 100%
  );
  padding: 14px;
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.phone .camera {
  position: absolute;
  top: 0;
  left: 37%;
  width: 60px;
  height: 6px;
  border-radius: 6px;
  background: var(--bs-medium-grey);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}
.phone img {
  width: 220px;
  width: 220px;
}

.wallet-screenshot {
  width: 100%;
  object-fit: cover;
  border-radius: 18px;
  background: #f6f7f8;
  display: block;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

@media (max-width: 991.98px) {
  .phone {
    width: 220px;
    height: 460px;
  }
}

@media (max-width: 767.98px) {
  .wallet-mockup {
    gap: 1rem;
    justify-content: center;
  }
  .phone {
    width: 100%;
    max-width: 220px;
    height: auto;
  }
  .phone {
    margin: 0 auto;
  }
  .wallet-features li {
    font-size: 0.95rem;
  }

  #navbar {
    width: 100%;
    border-radius: 0 !important;
  }
  .sticky-top {
    left: 0;
  }
  .navbar-toggler {
    margin-right: 15px;
  }
  .navbar-collapse {
    padding: 0 15px;
  }
  .navbar-nav .nav-link {
    margin: 0;
    padding: 10px;
  }
  .navbar-toggler-icon {
    font-size: 24px;
    color: var(--bs-orange);
  }
  .footer .col-lg-3,
  .footer .col-md-6 {
    margin-bottom: 2rem;
  }
  .footer .col-lg-3:last-child,
  .footer .col-md-6:last-child {
    margin-bottom: 0;
  }
}

.bg-color-orange-cl,
.bg-orange-cl {
  background: var(--bs-orange);
}

.bg-medium-grey-cl {
  background-color: var(--bs-medium-grey);
}

.bg-dark-grey-cl {
  background-color: var(--bs-dark-grey) !important;
}

.cl-deep {
  color: var(--bs-dark-grey);
}

.cl-orange {
  color: var(--bs-orange);
}
.cl-accent {
  color: var(--bs-orange);
}
.cl-medium-grey {
  color: var(--bs-medium-grey);
}

.cl-deep.active,
.cl-orange.active,
.cl-medium-grey.active {
  text-decoration: none;
  padding: 20px;
  font-weight: 600;
}

.cl-color-orange-blue {
  color: var(--bs-orange);
  display: block;
  padding: 20px;
  font-size: 14pt;
  font-weight: 900;
  text-decoration: none;
  background: none;
  border: 0;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out;
}

.btn-custom {
  all: unset;
  width: 100%;
  padding: 1rem;
  background: var(--bs-orange);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-custom:hover {
  outline: none;
  border-color: var(--bs-dark-grey);
  box-shadow: 0 0 0 4px #f1c784;
}

.btn-dark-orange {
  background-color: #626564;
  color: #fff;
  transition: all 0.3s ease-in-out;
}

.btn-dark-orange:hover {
  background-color: #f7a825;
  color: #fff;
}

.btn-gradient {
  background: linear-gradient(to left, #44abff, #337aff);
  border-radius: 20px;
  text-decoration: none;
  color: #fff;
}

.btn {
  border-radius: 50px;
  transition: 0.5s;
  font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
  color: var(--bs-light);
}

.header-carousel {
  margin-top: -40px;
  position: relative;
  z-index: 1;
}

.header-carousel .carousel-item img {
  height: 550px;
  object-fit: cover;
}

@media (max-width: 767.98px) {
  .header-carousel {
    position: relative;
    z-index: 1;
    margin-top: -55px;
  }
  .header-carousel .carousel-item img {
    object-fit: cover;
    height: 500px;
  }
}

.btn-secondary,
.btn-outline-secondary:hover {
  color: var(--bs-dark);
}

.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;
  border-radius: 50px;
  font-weight: normal;
}

.input-custom,
#message {
  all: unset;
  padding: 0.8rem 1rem;
  border: none;
  background: var(--bs-medium-grey);
  border-radius: 12px;
  font-size: 1rem;
  display: block;
  outline: none;
  color: white;
}
.input-custom::placeholder,
#message::placeholder {
  color: #c4c4c4;
}
#message {
  height: 50px;
}

.input-custom:focus,
#message:focus {
  outline: 2px solid var(--bs-orange);
  background: transparent;
  border: 0.2px solid var(--bs-orange);
}

.custom-line {
  width: 100%;
  max-width: 230px;
  border: 2px solid var(--bs-orange);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.dropdown-menu,
.tools-menu {
  display: none;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-menu {
  top: 105% !important;
  right: -31rem !important;
}

.tools-menu {
  right: -7rem !important;
}

.dropdown:hover .dropdown-menu,
.dropdown:hover .tools-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.mega-menu {
  width: 1000px;
  height: auto;
  padding: 20px;
  transform-origin: center;
}

.mega-menu .col,
.tools-menu .col {
  padding: 10px;
  position: relative;
  padding-right: 15px;
  border-right: 1px solid #ddd;
}

.mega-menu .col:last-child,
.tools-menu .col:last-child {
  border-right: none;
}

.mega-menu a,
.tools-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  text-decoration: none;
  color: #333;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.mega-menu a:hover,
.tools-menu a:hover {
  color: var(--bs-orange);
}

#navbar {
  height: 75px;
  padding: 0 15px;
}

.navbar-nav {
  margin: 0;
  padding: 0;
}

.sticky-top {
  top: -100px;
  transition: 0.5s;
}

.navbar .navbar-nav .nav-link {
  margin-right: 35px;
  padding: 20px 0;
  color: #c4c4c4;
  font-size: 18px;
  font-weight: 500;
  outline: none;
  font-size: 10pt;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: #626564;
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.contact-section {
  width: 100%;
  max-width: 1000px;
  background: #04326d;
  color: white;
  border-radius: 15px;
  padding: 50px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
}
.contact-section h1,
.contact-section h2 {
  color: #fff;
}
.contact-section ul {
  padding: 0;
  list-style: none;
}
.contact-section ul li {
  font-size: 18px;
  margin: 10px 0;
}
.services-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.custom-card {
  transition: 0.3s ease-in-out;
}
.custom-card:hover {
  transform: translateY(-10%);
}
.custom-card:hover .icon-box-primary::before {
  background: var(--bs-medium-grey);
}
.custom-card:hover .icon-box-primary i {
  color: var(--bs-orange) !important;
}
.fundators .fundator-info {
  text-align: center;
  text-wrap: wrap;
}
.bio-text {
  font-style: italic;
}
.fw-medium {
  font-weight: 500;
}
#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;
}
.swiper-slide {
  display: flex;
  justify-content: center;
}
.card {
  width: 100%;
  max-width: 280px;
  text-align: center;
}
.card img {
  border-radius: 50%;
  width: 75%;
  margin: 0 auto;
}
.icon-box-primary,
.icon-box-light {
  position: relative;
  padding: 0 0 10px 10px;
  z-index: 1;
}
.icon-box-primary i,
.icon-box-light i {
  font-size: 60px;
  line-height: 0;
}
.icon-box-primary::before,
.icon-box-light::before {
  position: absolute;
  content: "";
  width: 35px;
  height: 35px;
  left: 2px;
  bottom: 0;
  border-radius: 35px;
  transition: 0.5s;
  z-index: -1;
}
.icon-box-primary::before {
  background: var(--bs-orange);
}
.icon-box-light::before {
  background: var(--bs-light);
}
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  background: rgba(3, 27, 78, 0.3);
  z-index: 1;
}
.carousel-control-prev,
.carousel-control-next {
  width: 15%;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 3.5rem;
  background-color: var(--bs-orange);
  border: 15px solid var(--bs-orange);
}
.page-header {
  background: linear-gradient(rgba(3, 27, 78, 0.3), rgba(3, 27, 78, 0.3)),
    url(../img/traiding_charts.jpg) center center no-repeat;
  background-size: cover;
}
.page-header .page-header-text {
  padding-top: 5rem;
  padding-bottom: 3rem;
}
.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}
.navbar .navbar-toggler:focus {
  box-shadow: none;
}
.navbar-toggler-icon {
  background-image: none !important;
}

.footer {
  color: white;
  position: relative;
  height: auto;
  border-top: 1px dashed rgba(255, 255, 255, 0.05);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #fff;
  font-size: 15px;
  font-weight: normal;
  text-transform: capitalize;
  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 {
  box-shadow: none;
  color: var(--bs-orange);
}

.footer .copyright {
  background: #111;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0; /* reduz padding */
}

.map-container {
  height: 500px;
}

.testimonial {
  background: linear-gradient(rgba(3, 27, 78, 0.3), rgba(3, 27, 78, 0.3)),
    url(../img/handshake.jpg) left center no-repeat;
  background-size: cover;
}
.bi-arrow-left,
.bi-arrow-right {
  transition: all ease-in-out 0.5s;
  color: var(--bs-medium-grey);
}
.bi-arrow-left:hover,
.bi-arrow-right:hover {
  color: var(--bs-orange);
}
.testimonial-person-img {
  width: 50px !important;
  border-radius: 60px;
}

.testimonial-carousel .owl-nav {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  margin-left: 15px;
  color: var(--bs-primary);
  font-size: 30px;
  line-height: 0;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: var(--bs-dark);
}

img[loading="lazy"] {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
img[loading="lazy"].loaded {
  opacity: 1;
}

#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  color: white;
  border-radius: 100%;
  border: none;
  outline: none;
  padding: 12px 16px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

#back-to-top:hover {
  background-color: var(--bs-orange);
}

@media (max-width: 576px) {
  #back-to-top {
    bottom: 15px;
    right: 15px;
    padding: 10px 14px;
    font-size: 14px;
  }
}

@media (max-width: 767.98px) {
  .navbar-collapse {
    position: fixed;
    top: 1px;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bs-medium-grey) !important;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }

  .navbar-collapse.show {
    transform: translateX(0);
  }
}
#navbar-toggler-btn {
  border: none;
}
.logo-img {
  height: 50px !important;
  width: 50px !important;
  background-color: var(--bs-dark);
}
@media (max-width: 767.98px) {
  .sticky-top nav {
    border-radius: 10px !important;
  }
  .sticky-top {
    background-color: var(--bs-medium-grey) !important;
  }
  .logo-img {
    height: 40px !important;
    width: 40px !important;
  }
  .carousel-caption {
    align-items: flex-start !important;
    text-align: left !important;
    padding-left: 16px;
    padding-right: 16px;
  }
  .carousel-caption .col-lg-8 {
    max-width: 100%;
  }
  .carousel-control-prev {
    margin-left: 10px;
  }
  #download-app {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #download-app .btn-custom {
    text-align: center;
  }
  .carousel-control-next {
    margin-right: 10px;
  }
  .carousel-caption p {
    font-size: 15px;
    max-width: 100%;
    text-align: left;
  }

  .btn-custom {
    margin-left: auto;
    margin-right: auto;
  }

  .bi-bar-chart,
  .bi-shield-lock,
  .bi-list-check {
    font-size: 30pt !important;
  }

  #wallet-section p,
  #wallet-section .wallet-features li,
  .feature .bg-medium-grey-cl p,
  #transaction-history p,
  .feature .feature-item p,
  #benefits-section .feature-item p,
  .testimonial .col-lg-6 p,
  .fundators .bio-text,
  .testimonial-item p,
  .feature-item span {
    text-align: left !important;
    font-size: 14px !important;
    line-height: 1.4;
  }
  #company-name,
  #founder-name,
  #founder-role,
  #company-nif {
    text-align: left !important;
  }

  .icon-box-primary,
  .icon-box-light {
    position: relative;
    width: 64px;
    height: 64px;
    padding: 0;
    border-radius: 50%;
    z-index: 1;
  }
  .icon-box-primary i,
  .icon-box-light i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .testimonial-item .icon-box-primary {
    margin-bottom: 12px;
  }
  .testimonial-item p {
    margin-bottom: 12px;
    text-align: left !important;
  }
  .testimonial-person-img {
    width: 50px !important;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
  }
  .testimonial .d-flex.align-items-center {
    justify-content: flex-start;
    text-align: left;
  }

  .phone {
    max-width: 260px;
    height: auto;
    margin: 0 auto;
  }

  .navbar-collapse .nav-link,
  .navbar-collapse .dropdown-item {
    cursor: pointer;
  }

  .navbar-collapse {
    margin-top: 13.5%;
  }

  .custom-card:hover {
    transform: none;
  }
}
