/* Custom Styles */
:root {
  --primary-blue: #0e71b7;
  --light-blue: #e8f4ff;
  --gradient-blue: linear-gradient(180deg, #e8f4ff 0%, #c5e5ff 100%);
  --navbar-blue: #0b62aa;
  --dropdown-text: #061347;
  --navbar-transition: all 0.3s ease;
  --text-primary: #243757;
  --text-secondary: #5a7184;
  --card-bg: white;
  --body-bg: white;
  --footer-bg: linear-gradient(135deg, #e8f4ff 0%, #c5e5ff 100%);
  --global-bg: #b3d3ff;
  --why-bg: #b3d3ff;
  --feature-icon-bg: #e8f4ff;
  --hero-gradient: linear-gradient(
    179.99deg,
    #061347 -42.58%,
    rgba(0, 0, 0, 0) -42.58%,
    #0e229c -42.57%,
    #2f45ca -21.07%,
    rgba(151, 60, 68, 0.055) 91.6%,
    #061347 91.61%
  );
}
html {
  overflow-x: hidden;
}
/* Dark mode color variables */
.dark-mode {
  --primary-blue: #1e90ff;
  --light-blue: #091d36;
  --gradient-blue: linear-gradient(180deg, #091d36 0%, #061347 100%);
  --navbar-blue: #061347;
  --dropdown-text: #e8f4ff;
  --text-primary: #e8f4ff;
  --text-secondary: #b3d3ff;
  --card-bg: #12244a;
  --body-bg: #030c24;
  --footer-bg: linear-gradient(135deg, #0c1a38 0%, #061347 100%);
  --global-bg: #091d36;
  --why-bg: #091d36;
  --forecast-bg: #061346;
  --feature-icon-bg: #12244a;
  --card-tokenization-text: #8265ca;
}

/* Utility: white background with opacity */
.bg-white-10 {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(255, 255, 255, 0) 100%
  );
}
.bg-white-20 {
  background: rgba(255, 255, 255, 0.2) !important;
}

/* Utility: text sizes */
.text-sm {
  font-size: 0.875rem !important;
} /* 14px */
.text-md {
  font-size: 1rem !important;
} /* 16px */
.text-lg {
  font-size: 1.125rem !important;
} /* 18px */
.text-xl {
  font-size: 1.25rem !important;
} /* 20px */
.text-2xl {
  font-size: 1.5rem !important;
} /* 24px */
/* Utility: font weights */
.font-thin {
  font-weight: 100 !important;
}
.font-extralight {
  font-weight: 200 !important;
}
.font-light {
  font-weight: 300 !important;
}
.font-normal {
  font-weight: 400 !important;
}
.font-medium {
  font-weight: 500 !important;
}
.font-semibold {
  font-weight: 600 !important;
}
.font-bold {
  font-weight: 700 !important;
}
.font-extrabold {
  font-weight: 800 !important;
}
.font-black {
  font-weight: 900 !important;
}

/* Utility: custom padding p-6 to p-10 */
.p-6 {
  padding: 3.5rem !important;
}
.p-7 {
  padding: 4rem !important;
}
.p-8 {
  padding: 4.5rem !important;
}
.p-9 {
  padding: 5rem !important;
}
.p-10 {
  padding: 6rem !important;
}
.pb-0 {
  padding-bottom: 0 !important;
}
.mb-6 {
  margin-bottom: 3.5rem !important;
}
.mb-7 {
  margin-bottom: 4rem !important;
}
.mb-8 {
  margin-bottom: 4.5rem !important;
}
.mb-9 {
  margin-bottom: 5rem !important;
}
.mb-10 {
  margin-bottom: 6rem !important;
}
/* Utility: negative left margin ml-n1 to ml-n10 */
.ml-n1 {
  margin-left: -0.25rem !important;
}
.ml-n2 {
  margin-left: -0.5rem !important;
}
.ml-n3 {
  margin-left: -1rem !important;
}
.ml-n4 {
  margin-left: -1.5rem !important;
}
.ml-n5 {
  margin-left: -2rem !important;
}
.ml-n6 {
  margin-left: -2.5rem !important;
}
.ml-n7 {
  margin-left: -3rem !important;
}
.ml-n8 {
  margin-left: -3.5rem !important;
}
.ml-n9 {
  margin-left: -4rem !important;
}
.ml-n10 {
  margin-left: -5rem !important;
}

/* Navbar styling */
.navbar {
  background-color: rgba(
    11,
    2,
    33,
    0.55
  ); /* 55% opacity to see through to background */
  transition: var(--navbar-transition);
  position: fixed; /* Fix the navbar at the top of the viewport */
  width: 100%; /* Ensure it spans full width */
  z-index: 1000; /* Make sure it's above other elements */
  top: 0; /* Position it at the top */
}

.navbar-brand,
.navbar-nav .nav-link {
  color: white !important;
}

.navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

.dropdown-menu {
  background-color: rgba(255, 255, 255, 0.9);
}

.navbar.scrolled {
  background-color: rgba(
    11,
    2,
    33,
    0.55
  ); /* Keep same transparency when scrolled */
}

body {
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
  background-color: var(--forecast-bg); /* changed from var(--body-bg) */
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hero section with the new gradient */
.hero-section {
  background: url("../../../images/landing-page-background.jpg");
  padding: 6rem 0 8rem 0;
  background-size: cover;
  position: relative;
  min-height: 100vh;
  background-position: center center;
}

.hero-title {
  background: linear-gradient(
    145.55deg,
    #ececec 60.35%,
    rgba(236, 236, 236, 0) 120.73%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  font-size: 4.5rem;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.2;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 2rem auto;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 400;
}

/* Update welcome badge for better contrast on dark gradient */
.welcome-badge {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  display: inline-block;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Add a gradient button style for the Get Started button */
.btn-gradient-primary {
  background: linear-gradient(to right, #3fc1ff, #dc71e5);
  color: white;
  border: none;
  transition: all 0.3s ease;
}

.btn-gradient-primary:hover {
  background: linear-gradient(to right, #2ab0ff, #cb50e0);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(63, 193, 255, 0.4);
  color: white;
}

/* Adapt other sections for dark mode */
.global-section {
  background-color: var(--global-bg);
  padding: 3rem 0;
  position: relative;
  margin-top: -4rem;
  transition: background-color 0.3s ease;
  min-height: 60vh;
}

.global-container {
  background: linear-gradient(
    179.99deg,
    #061347 -42.58%,
    rgba(0, 0, 0, 0) -42.58%,
    #0e229c -42.57%,
    #2f45ca -21.07%,
    rgba(151, 60, 68, 0.055) 91.6%
  );
  border-radius: 12px;
  box-shadow: 0px 8px 24px rgba(13, 13, 18, 0.1);
  padding: 4rem;
  opacity: 0.95;
  transition: background 0.3s ease;
  color: white;
  position: relative;
}

.forecast-container {
  padding: 0 4rem;
  opacity: 0.95;
  transition: background 0.3s ease;
  color: white;
  position: relative;
  margin-bottom: 2rem;
}

@media (max-width: 991.98px) {
  .forecast-container {
    padding: 2rem 1rem;
  }
}

.global-title {
  color: white; /* Update text color for better contrast on dark gradient */
  font-weight: 700;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.global-subtitle {
  color: rgba(
    255,
    255,
    255,
    0.85
  ); /* Lighter color for subtitle on dark gradient */
  text-align: center;
  margin-bottom: 2rem;
}

.region-card {
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin-bottom: 0.25rem;
  height: auto;
  color: white;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.region-card h5 {
  color: white;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0;
  font-family: inherit;
  font-weight: normal;
}

.region-flag {
  border-radius: 50%;
  width: 45px;
  height: 45px;
  box-shadow: none;
  background: none;
  object-fit: cover;
  display: inline-block;
}

.available-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

@media (max-width: 991.98px) {
  .flags-section-container {
    width: 100%;
    max-width: 100%;
  }
}

.how-it-works {
  background: var(--gradient-blue);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

.circle-decoration {
  position: absolute;
  border-radius: 50%;
  background-color: #cde2ff2e;
  z-index: 1;
}

.circle-large {
  width: 400px;
  height: 400px;
  top: 20%;
  right: 10%;
  opacity: 0.6;
}

.circle-small {
  width: 150px;
  height: 150px;
  top: 10%;
  right: 38%;
  opacity: 0.7;
}

.how-it-works h2 {
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.how-it-works p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.why-section {
  padding: 4rem 0;
  background-color: var(--why-bg);
  transition: background-color 0.3s ease;
}

.why-title {
  text-align: center;
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.why-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

.feature-icon {
  background-color: var(--feature-icon-bg);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
  transition: background-color 0.3s ease;
}

.feature-text h4 {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-text p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

footer {
  background: var(--footer-bg);
  padding: 3rem 0 1rem 0;
  transition: background 0.3s ease;
}

.footer-title {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

/* Add these mobile responsive navbar styles */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: rgba(11, 2, 33, 0.95);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 10px;
  }

  .navbar-nav {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
  }

  .dropdown-menu {
    background-color: rgba(25, 15, 50, 0.95);
    border: none;
  }

  .dropdown-item {
    color: white !important;
  }

  .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  .footer-logo {
    margin-top: 1.5rem;
  }
}

/* Add these styles after your existing mobile responsive navbar styles */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1000;
    margin-left: 10px;
    margin-right: 10px;
  }

  .navbar .container {
    position: relative;
  }

  .dropdown-menu {
    border: none;
    box-shadow: none;
    padding-left: 1rem;
  }

  .dropdown-item {
    padding: 0.5rem 0;
  }
  .navbar-nav .nav-link.active::after {
    width: 100% !important;
  }
}

/* Add styles for active navbar links */
.navbar-nav .nav-link.active {
  position: relative;
  color: var(--primary-blue) !important;
  font-weight: 600;
}

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 5px;
  background-color: var(--primary-blue);
  border-radius: 2px;
}

.dropdown-item.active {
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: var(--primary-blue) !important;
}
.p-relative {
  position: relative;
}

.img-bg-service {
  position: absolute;
  bottom: 0;
  left: 0;
  opacity: 0.15;
}

/* Custom Solutions Dropdown Styles */
.solutions-dropdown-menu {
  background: #fff !important;
  border-radius: 12px !important;
  min-width: 270px;
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 32px rgba(22, 62, 199, 0.08);
  border: none;
  right: 0;
  left: auto;
  /* Align to end of anchor */
  transform: translateX(10%);
  font-family: "Inter", "Montserrat", Arial, Helvetica, sans-serif;
}

.dropdown-list-title {
  color: #163ec7;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
  padding-left: 0.25rem;
  font-family: "Inter", "Montserrat", Arial, Helvetica, sans-serif !important;
}

.dropdown-sublist {
  list-style: none;
  padding-left: 0.5rem;
  margin-bottom: 0.5rem;
}

.dropdown-sublist .sublist-item {
  color: #454545 !important;
  font-size: 0.97rem;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  transition: background 0.2s;
  position: relative;
  display: flex;
  align-items: center;
  font-family: "Inter", "Montserrat", Arial, Helvetica, sans-serif !important;
}

.dropdown-sublist .sublist-item::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #163ec7;
  margin-right: 10px;
  margin-left: 0;
  flex-shrink: 0;
}

.dropdown-sublist .sublist-item:hover,
.dropdown-sublist .sublist-item:focus {
  background: #f2f6ff;
  color: #163ec7 !important;
  text-decoration: none;
}

/* Remove default dropdown-item background for this menu */
.solutions-dropdown-menu .dropdown-item.active,
.solutions-dropdown-menu .dropdown-item:active {
  background: #e8f4ff !important;
  color: #163ec7 !important;
}

.dropdown-menu-start {
  left: 0 !important;
  right: auto !important;
  transform: none !important;
}

/* Consistent spacing for dropdown items in Company dropdown */
.solutions-dropdown-menu .dropdown-item.sublist-item {
  margin-bottom: 0.25rem;
}

/* Make Company dropdown titles (Privacy Policy, FAQ) blue */
.solutions-dropdown-menu .dropdown-item.sublist-item.company-title {
  color: #163ec7 !important;
  font-weight: 600;
}
.region-flag {
  border-radius: 50%;
  width: 45px;
  height: 45px;
  box-shadow: none;
  background: none;
  object-fit: cover;
  display: inline-block;
}

/* Exchange rate image styling */
.exchange-rate-img {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 600px;
  width: 100%;
  height: auto;
  pointer-events: none;
}

/* Forecast Section Styles */
.forecast-section {
  min-height: 100vh;
  padding: 10rem 0;
  display: flex;
  align-items: flex-start;
  /* Updated background to match dashboard-functions */
  background: linear-gradient(180deg, #0e229c 0%, #061347 100%);
  position: relative;
}

.forecast-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 2rem;
  color: white;
}

.stats-number {
  font-size: 80px;
  font-weight: 600;
  color: white;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 auto -6rem;
  z-index: -1;
}

.stats-number::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 13.93px;
  background: linear-gradient(
    157.28deg,
    #050e36 14.76%,
    #0f2a9c 58.18%,
    #43286c 87.01%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.forecast-stats {
  padding: 2rem;
  text-align: center;
  position: static;
  top: unset;
  transform: none;
}

.stats-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: white;
  background: rgba(255, 255, 255, 0.2); /* White 12% background */
  padding: 1.25rem 2rem;
  font-size: 1.35rem; /* Larger than stats-forecast */
  font-weight: 600;
}

.stats-info .stats-icon {
  font-size: 2.2rem;
  margin-right: 0.75rem;
  margin-bottom: 0;
  vertical-align: middle;
}

.stats-info p {
  margin-bottom: 0;
  text-align: left;
}

.stats-forecast {
  color: white;
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
  font-weight: 400;
  text-align: left;
  margin-left: 6rem;
}

.payment-processing-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 500;
  margin-bottom: 2.5rem;
}

@media (max-width: 991.98px) {
  .exchange-rate-img {
    display: none;
  }
}

.payment-acceptance {
  /* background: var(--forecast-bg); */
  padding: 4rem 0;
  position: relative;
}

.payment-acceptance::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -0px;
  width: 500px;
  height: 900px;
  background: linear-gradient(
    90deg,
    rgba(255, 0, 159, 0.24) 0%,
    rgba(24, 81, 204, 0.24) 100%
  );
  background-blend-mode: screen;
  z-index: -1;
  transform: skewX(-10deg) translateY(-25%);
  border-radius: 24px;
}

.payment-acceptance .payment-processing-title,
.payment-acceptance h2 {
  color: #fff !important;
  width: 100%;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.payment-acceptance .d-flex.flex-column.align-items-center {
  width: 100%;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.payment-acceptance h4 {
  color: #fff;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .payment-acceptance .payment-processing-title,
  .payment-acceptance .d-flex.flex-column.align-items-center {
    max-width: 100%;
  }
  .payment-acceptance img {
    width: 100% !important;
  }
}

/* New styles for Payment Acceptance section */
.payment-acceptance-bg {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.credit-debit-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
}

/* Update alignment for Local Bank Wire and Virtual Account flags */
.payment-acceptance .row.d-flex.justify-content-start {
  gap: 1.5rem;
  justify-content: flex-start; /* Ensure left alignment */
}

.payment-acceptance .col-auto {
  width: auto; /* Allow columns to fit content */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.payment-acceptance .bank-flag-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.payment-acceptance .bank-flag-img2 {
  width: 60px !important;
  height: 60px !important;
}

.payment-acceptance .bank-flag-label {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  text-align: center;
}

@media (max-width: 991.98px) {
  .payment-method-row {
    gap: 1rem;
  }
  .bank-flag-img {
    max-width: 90px;
  }
  .bank-flag-card {
    min-width: 100px;
    min-height: 90px;
    padding: 1rem 0.5rem 0.75rem 0.5rem;
  }
}
.payment-method-subtitle {
  font-size: 1.1rem;
  color: #e0e6f7;
  margin-bottom: 1.5rem;
}

.payment-method-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Reduce margin-bottom for bank transfer card rows only */
.payment-method-row .payment-method-card-bg:not(.no-bg) {
  margin-bottom: 1rem;
}

/* Local Bank Wire Countries Flags Styling */
.localbank-wires-flags-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem; /* Adjusted gap */
  justify-content: flex-start;
  align-items: center;
}

.localbank-wires-flags-wrapper > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  flex: 0 0 auto; /* Ensure column doesn't stretch */
}

.bank-flag-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.bank-flag-label {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  text-align: center;
}

@media (max-width: 991.98px) {
  .localbank-wires-flags-wrapper {
    gap: 1rem;
    justify-content: center;
  }

  .localbank-wires-flags-wrapper > div {
    min-width: 70px;
  }

  .bank-flag-img {
    width: 40px;
    height: 40px;
  }
}

/* Update alignment for Local Bank Wire and Virtual Account flags */
.payment-acceptance .row.d-flex.justify-content-start {
  gap: 1.5rem;
  justify-content: flex-start; /* Ensure left alignment */
}

.payment-acceptance .col-auto {
  width: auto; /* Allow columns to fit content */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.payment-acceptance .bank-flag-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.payment-acceptance .bank-flag-img2 {
  width: 60px !important;
  height: 60px !important;
}

.payment-acceptance .bank-flag-label {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  text-align: center;
}

@media (max-width: 991.98px) {
  .payment-method-row {
    gap: 1rem;
  }
  .bank-flag-img {
    max-width: 90px;
  }
  .bank-flag-card {
    min-width: 100px;
    min-height: 90px;
    padding: 1rem 0.5rem 0.75rem 0.5rem;
  }
}

.payment-acceptance .payment-method-card-bg {
  background: radial-gradient(
    120.12% 982.16% at 36.1% 50%,
    #08144a 0%,
    #443176 98.08%
  );
  border-radius: 24px;
  padding: 1.5rem;
  width: 100%;
}

/* Multi Currency */
#multi-currency {
  /* background: url("../../../images/pictures/coin-reflection.svg") no-repeat right center; */
  /* background-size: contain; */
  position: relative;
}

#multi-currency::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  background-image: url("../../../images/pictures/coin-reflection.svg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  width: 250px;
  height: 400px;
}

#multi-currency::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  background-image: url("../../../images/pictures/coin-reflection.svg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  width: 250px;
  z-index: -1;
  height: 400px;
  filter: blur(20px);
}

/* Dashboard Functions Section */
#dashboard-functions {
  /* Updated background to match forecast-section */
  background: linear-gradient(180deg, #0e229c 0%, #061347 100%);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* Dashboard Functions Sub Wrapper */
.dashboard-functions-bg {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  border-radius: 24px;
  padding: 5rem 10rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

/* Dashboard Card Icon Styles */
.dashboard-card-icon {
  width: auto;
  height: auto;
  border-radius: 0;
  background: none !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 1.25rem 0;
  font-size: 2rem;
  color: #6294fb !important;
  box-shadow: none;
}

.dashboard-card-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

/* Dashboard card content left align */
#dashboard-functions .card.bg-dark {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-align: left;
  align-items: flex-start;
}

/* Dashboard card title and content size */
#dashboard-functions .card-title {
  font-size: 1.5rem; /* 24px */
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
  text-align: left;
}

#dashboard-functions .card-text {
  font-size: 1rem; /* 16px */
  color: #e0e6f7;
  text-align: left;
}

/* Make dashboard cards always 3 columns */
@media (min-width: 0) {
  #dashboard-functions .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -1rem;
    margin-left: -1rem;
  }
  #dashboard-functions .col {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-bottom: 2rem;
  }
}

/* Responsive adjustments for mobile */
@media (max-width: 991.98px) {
  #dashboard-functions .col {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (max-width: 575.98px) {
  #dashboard-functions .col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.integration-img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.infrastructure-card {
  background: linear-gradient(
    241.03deg,
    #0a1f71 3.09%,
    #091546 28.93%,
    #091854 72.64%,
    #443176 108.3%
  );
  border: 1px solid;
  border-image-source: linear-gradient(
    204.91deg,
    #6294fb -10.77%,
    rgba(98, 148, 251, 0) 78.76%
  );
  border-radius: 12px;
  padding: 24px 36px 40px 24px;
  gap: 24px;
}

.cta-section .container {
  border-radius: 40px;
}
.cta-section {
  border-radius: 40px;
  margin: 1rem;
}

#card-tokenization {
  background: #0a1a5a;
  color: white;
  margin-bottom: 200px;
  position: relative;
}

#card-tokenization::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: -300px;
  width: 400px;
  height: 800px;
  background: linear-gradient(
    90deg,
    rgba(255, 0, 159, 0.24) 0%,
    rgba(24, 81, 204, 0.24) 100%
  );
  background-blend-mode: screen;
  border-radius: 32px;
  transform: skewX(-10deg);
  box-shadow: 0 24px 64px 0 rgba(24, 81, 204, 0.12);
}

.tokenization-card {
  aspect-ratio: 1 / 1;
  background-image: url("../../../images/pictures/ellipse-tokenization.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4rem;
  width: max-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tokenization-title {
  font-size: 36px;
  font-weight: bold;
  color: white;
}

/* Tokenization Card Absolute Elements */
.tokenization-absolute-1 {
  position: absolute;
  width: 40%;
  top: 75%;
  right: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tokenization-connector-1 {
  width: 100%;
  height: auto;
}
.tokenization-card-1 {
  width: 400px;
  height: auto;
}

.tokenization-absolute-2 {
  position: absolute;
  width: 60%;
  bottom: 70%;
  left: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tokenization-card-2 {
  width: 400px;
  height: auto;
}
.tokenization-connector-2 {
  width: 100%;
  height: auto;
  margin-top: -24px;
}

.tokenization-connector-3 {
  position: absolute;
  width: 50%;
  top: 50%;
  right: 100%;
  margin-right: 24px;
  height: auto;
}

.feature-box {
  background: linear-gradient(
    270.91deg,
    #d9d9d9 -139.3%,
    rgba(217, 217, 217, 0) 95.47%
  );
  padding: 1rem;
}

.feature-box.right,
.feature-box.right .inner {
  transform: rotate(-180deg);
}

/* Absolute feature boxes around Card 1 */
.feature-box-abs {
  position: absolute;
  z-index: 2;
  min-width: 400px;
  max-width: 500px;
}

.feature-remember {
  top: 20%;
  right: 150%;
}
.feature-schedule {
  bottom: 0;
  right: 150%;
}
.feature-hold {
  top: 30%;
  left: 150%;
}
.feature-recurring {
  bottom: 0;
  left: 150%;
}

/* Responsive adjustment for smaller screens */
@media (max-width: 1200px) {
  .feature-box-abs {
    min-width: 180px;
    max-width: 220px;
  }
  .feature-remember,
  .feature-schedule {
    left: -200px;
  }
  .feature-hold,
  .feature-recurring {
    right: -200px;
  }
}
@media (max-width: 768px) {
  .feature-box-abs {
    min-width: 120px;
    max-width: 160px;
    font-size: 12px;
  }
  .feature-remember,
  .feature-hold {
    top: -30px;
  }
  .feature-schedule,
  .feature-recurring {
    bottom: -30px;
  }
  .feature-remember,
  .feature-schedule {
    left: -120px;
  }
  .feature-hold,
  .feature-recurring {
    right: -120px;
  }
}

.background-backoffice {
  position: absolute;
  width: 130%;
  height: 130%;
  top: -85px;
  left: -180px;
  border-radius: 25px;
  background: linear-gradient(
    90deg,
    rgba(255, 0, 159, 0.12) 0%,
    rgba(24, 81, 204, 0.12) 100%
  );
  background-blend-mode: screen;
  rotate: 6deg;
}

/* FAQ Accordion Styles */
#section-faq .accordion {
  --bs-accordion-border-color: rgba(255, 255, 255, 0.2);
  --bs-accordion-bg: transparent;
}

#section-faq .accordion-item {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px !important;
  backdrop-filter: blur(10px);
  margin-bottom: 1rem;
  overflow: hidden;
}

#section-faq .accordion-button {
  background-color: transparent;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1.25rem 1.5rem;
  border: none;
  border-radius: 12px !important;
  transition: all 0.3s ease;
}

#section-faq .accordion-button:not(.collapsed) {
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  box-shadow: none;
}

#section-faq .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

#section-faq .accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.3);
}

#section-faq .accordion-button:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

#section-faq .accordion-body {
  background-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#section-faq .accordion-body p {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

#section-faq .accordion-body ul li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

#section-faq .accordion-body strong {
  color: white;
}

/* Animation for accordion expand/collapse */
#section-faq .accordion-collapse {
  transition: all 0.35s ease-in-out;
}

/* Number styling in accordion headers */
#section-faq .accordion-button span.me-3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
  margin-right: 1rem;
}

#section-faq .accordion-button:not(.collapsed) span.me-3 {
  background: rgba(255, 255, 255, 0.3);
}

/* ============================================
   RESPONSIVE DESIGN IMPROVEMENTS
   Mobile: 320px - 767px
   Tablet: 768px - 1023px
   Desktop: 1024px+
   ============================================ */

/* Mobile First Base Styles */
@media (max-width: 767px) {
  /* Global mobile styles */
  html,
  body {
    overflow-x: hidden;
  }

  /* Reduce spacing for mobile */
  .p-10 {
    padding: 2rem !important;
  }
  .p-6,
  .p-7,
  .p-8,
  .p-9 {
    padding: 1.5rem !important;
  }

  /* Hero section mobile */
  .hero-section {
    padding: 2rem 0 4rem 0;
    min-height: 80vh;
    padding-top: 6rem;
  }

  .hero-title {
    font-size: 2.5rem !important;
    line-height: 1.1;
    margin: 1rem auto;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin: 1rem auto;
    padding: 0 1rem;
  }

  .welcome-badge {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    margin-top: 2rem;
  }

  /* Navigation mobile */
  .navbar {
    padding: 0.5rem 0;
  }

  .navbar-brand {
    font-size: 1.1rem;
  }

  .navbar-brand img {
    max-height: 35px;
  }

  /* Button sizing mobile */
  .btn {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.9rem;
  }

  .btn-gradient-primary {
    padding: 1rem 2rem !important;
  }

  /* Global section mobile */
  .global-container {
    padding: 2rem 1rem;
    margin: 0 1rem;
    border-radius: 8px;
  }

  .global-title {
    font-size: 1.8rem;
  }

  .global-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .available-title {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  /* Region cards mobile */
  .region-card {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
  }

  .region-card h5 {
    font-size: 0.85rem;
  }

  .region-flag {
    width: 35px;
    height: 35px;
  }

  /* Forecast section mobile */
  .forecast-section {
    padding: 2rem 0;
  }

  .forecast-container {
    padding: 1rem;
    text-align: center; /* pastikan semua teks ke tengah */
    align-items: center; /* center isi flex container jika flex */
    display: flex;
  }

  .forecast-section .display-3 {
    font-size: 2rem !important;
  }

  .stats-number {
    font-size: 3rem !important;
  }

  .stats-info {
    flex-direction: column;
    display: flex;

    text-align: center;
    gap: 0.5rem;
  }
  .stats-info p {
    text-align: center;
  }

  /* Payment processing mobile */
  #payment-processing .display-5 {
    font-size: 1.8rem !important;
  }

  /* Card tokenization mobile */
  #card-tokenization {
    min-height: auto !important;
    padding: 2rem 0 !important;
  }

  #card-tokenization .display-5 {
    font-size: 1.8rem !important;
    margin-bottom: 1rem;
  }

  .tokenization-card {
    display: none; /* Hide complex tokenization visualization on mobile */
  }

  /* Payment acceptance mobile */
  .payment-method-title {
    font-size: 1.4rem !important;
  }

  .payment-method-card-bg {
    padding: 1rem !important;
    margin-bottom: 1rem;
  }

  .bank-flag-img2 {
    width: 30px !important;
    height: 30px !important;
  }

  .localbank-title {
    font-size: 1.2rem !important;
  }

  .localbank-subtitle {
    font-size: 0.85rem !important;
  }

  /* Multi currency mobile */
  #multi-currency .display-5 {
    font-size: 1.8rem !important;
  }

  #multi-currency .text-2xl {
    font-size: 1rem !important;
    padding: 0 1rem;
  }

  /* Dashboard functions mobile */
  #dashboard-functions .display-5 {
    font-size: 1.8rem !important;
  }

  .dashboard-functions-bg {
    padding: 2rem 1rem;
  }

  .dashboard-functions-bg .row {
    row-gap: 1rem;
  }

  .dashboard-functions-bg .col {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .dashboard-card-icon-img {
    width: 40px;
    height: 40px;
  }

  /* Integration mobile */
  .integration-img {
    max-width: 200px;
  }

  .integration-img.bigger {
    max-width: 250px;
  }

  /* Infrastructure mobile */
  .infrastructure-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  /* Interface sections mobile */
  #merchant-interface,
  #backoffice-interface {
    min-height: auto !important;
    padding: 2rem 0 !important;
  }

  #merchant-interface .display-5,
  #backoffice-interface .display-5 {
    font-size: 1.8rem !important;
    margin-bottom: 2rem;
    text-align: center;
  }

  /* Footer mobile */
  .footer-section {
    padding: 2rem 0;
  }

  .footer-section .col-6 {
    flex: 1 1 100%;
    max-width: 100%;
    margin-bottom: 1rem;
  }

  .footer-section img {
    max-width: 100px !important;
  }

  .stats-forecast {
    text-align: center !important;
    margin-left: 0 !important;
  }

  .tokenization-title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    width: 100% !important;
  }
  .tokenization-title h2,
  .tokenization-title p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #multi-currency .container,
  #multi-currency .row {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }
  #multi-currency .col-12.col-md-8.p-relative {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: -12px !important;
    margin-right: -12px !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }
  #multi-currency .col-12.col-md-8.p-relative img {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: block !important;
  }

  .tokenization-feature-mobile {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 0.5rem !important;
    padding: 1rem !important;
  }
  .tokenization-feature-mobile p {
    text-align: center !important;
    margin-bottom: 0 !important;
  }

  .footer-section .row > [class^="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    margin-bottom: 1.5rem;
  }
  .footer-section .d-flex.align-items-center {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .footer-section img {
    margin: 0 auto 1rem auto !important;
    display: block !important;
    max-width: 90px !important;
  }
  .footer-section ul {
    padding-left: 0 !important;
    margin-bottom: 1rem !important;
  }
  .footer-section .ms-3 {
    margin-left: 0 !important;
  }
  .footer-section .mb-3 {
    margin-bottom: 0.75rem !important;
  }
  .footer-section .small {
    margin-top: 1.5rem !important;
  }

  .navbar .dropdown-menu {
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    min-width: 90vw !important;
    max-width: 98vw !important;
    border-radius: 12px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .navbar .dropdown-menu-end {
    left: 0 !important;
    right: auto !important;
    transform: none !important;
  }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Hero section tablet */
  .hero-title {
    font-size: 3.5rem !important;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  /* Global section tablet */
  .global-container {
    padding: 3rem 2rem;
  }

  .global-title {
    font-size: 2.5rem;
  }

  /* Region cards tablet - 2 columns */
  .region-card {
    margin-bottom: 1rem;
  }

  /* Forecast section tablet */
  .forecast-section .display-3 {
    font-size: 2.5rem !important;
  }

  .stats-number {
    font-size: 4rem !important;
  }

  /* Dashboard functions tablet - 2 columns */
  .dashboard-functions-bg .col {
    flex: 1 1 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
    margin-bottom: 1rem;
  }

  /* Payment acceptance tablet */
  .payment-method-card-bg {
    padding: 1.5rem;
  }

  /* Interface sections tablet */
  #merchant-interface .display-5,
  #backoffice-interface .display-5 {
    font-size: 2.2rem !important;
  }

  /* Tokenization features tablet */
  .feature-box-abs {
    min-width: 250px;
    max-width: 300px;
  }

  .feature-remember,
  .feature-schedule {
    left: -120px;
  }

  .feature-hold,
  .feature-recurring {
    right: -120px;
  }
}

/* Desktop Improvements */
@media (min-width: 1024px) {
  /* Dashboard functions desktop - 4 columns */
  .dashboard-functions-bg .col {
    flex: 1 1 calc(25% - 1rem);
    max-width: calc(25% - 1rem);
  }

  /* Large desktop specific improvements */
  @media (min-width: 1400px) {
    .container {
      max-width: 1320px;
    }

    .hero-title {
      font-size: 5rem !important;
    }

    .hero-subtitle {
      font-size: 1.4rem;
    }
  }
}

/* Additional responsive utilities */
.text-responsive {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
}

.title-responsive {
  font-size: clamp(1.5rem, 4vw, 3rem);
}

.hero-responsive {
  font-size: clamp(2rem, 6vw, 4.5rem);
}

/* Hide/Show elements based on screen size */
.mobile-only {
  display: block;
}

.tablet-only,
.desktop-only {
  display: none;
}

@media (min-width: 768px) {
  .mobile-only {
    display: none;
  }

  .tablet-only {
    display: block;
  }
}

@media (min-width: 1024px) {
  .tablet-only {
    display: none;
  }

  .desktop-only {
    display: block;
  }
}

/* Responsive images */
.img-responsive {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Responsive spacing utilities */
@media (max-width: 767px) {
  .mobile-p-1 {
    padding: 0.25rem !important;
  }
  .mobile-p-2 {
    padding: 0.5rem !important;
  }
  .mobile-p-3 {
    padding: 1rem !important;
  }
  .mobile-m-1 {
    margin: 0.25rem !important;
  }
  .mobile-m-2 {
    margin: 0.5rem !important;
  }
  .mobile-m-3 {
    margin: 1rem !important;
  }
  .mobile-mb-3 {
    margin-bottom: 1rem !important;
  }
  .mobile-mt-3 {
    margin-top: 1rem !important;
  }
}

/* Fix image positioning on mobile */
@media (max-width: 767px) {
  .img-bg-service {
    width: 80% !important;
    position: relative;
    top: auto;
    left: auto;
    transform: none;
  }

  .exchange-rate-img {
    width: 60px !important;
    height: 60px !important;
    position: relative;
    top: auto;
    right: auto;
  }
}
