html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.hero-image {
    position: relative;
    height: 100vh;
    overflow: hidden; /* ensures parallax element stays contained */
    color: white;
}

/* Parallax background element */
.hero-bg {
    background-image: url('/images/DataKeen.jpg'); /* Replace with your image */
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* slightly taller for smooth parallax */
    z-index: -1; /* keep behind content */
}

/* Foreground content */
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-text-h1 {
    font-size: 4.5rem;
    font-weight: bold;
}

.hero-text-h2 {
    font-size: 3.5rem;
    font-weight: bold;
}

.hero-image-slice-numbers {
    position: relative;
    overflow: hidden;
    color:white;
}

.hero-image-slice-numbers .bg {
    background-image: url('/images/NumbersBackground.jpg'); /* Replace with your image */
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left:0;
    width:100%;
    height:400%;
    z-index: -1;
}

.hero-image-slice-chart {
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-image-slice-chart .bg {
    background-image: url('/images/ChartBackground.jpg');
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400%;
    z-index: -1;
}

.hero-image-slice-navigation {
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-image-slice-navigation .bg {
    background-image: url('/images/NavigationBackground.jpg');
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 800%;
    z-index: -1;
}

.hero-image-slice-currency {
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-image-slice-currency .bg {
    background-image: url('/images/CurrencyBackground.jpg');
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1500%;
    z-index: -1;
}

h2 {
    margin-bottom: 0;
}

h5 {
    font-size: 1.5rem;
    font-weight: 600;
}

.banner-color {
    background-color: #636b2f;
}

.banner-text {
    color: #d4de95;
}

.section-dark {
    background-color: #bac095;
}

.section-text {
    color: #3d4127;
}

.section-light {
    background-color: #d0d0d0;
}

.with-line::after {
    content: "";
    display: block;
    width: 16rem;
    height: 4px;
    background: #bac095;
    margin: 6px auto;
}

.myDarkButton {
    background-color: #636b2f;
    color: #d4de95;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.25rem #d4de95;
}

.btn:hover {
    background-color: #d0d0d0;
}

.banner-color a {
    color: #d4de95;
}

.fade-content {
    opacity: 0;
    transition: opacity 0.2s ease-in;
}

.fade-content.show {
    opacity: 1;
}

.fade-item {
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-item.show {
    opacity: 1;
}

#moreVisuals > div:nth-child(1) .fade-item {
    transition-delay: 0s;
}

#moreVisuals > div:nth-child(2) .fade-item {
    transition-delay: 0.3s;
}

#moreVisuals > div:nth-child(3) .fade-item {
    transition-delay: 0.6s;
}

#moreVisuals > div:nth-child(4) .fade-item {
    transition-delay: 0.9s;
}

#moreVisuals > div:nth-child(5) .fade-item {
    transition-delay: 1.2s;
}

.modal-content {
    background-color: #bac095; /* Dark blue-gray */
    color: #3d4127; /* Light text */
    border: 2px solid #000; /* solid black outline */
    box-shadow: 0 0 10px rgba(0,0,0,0.7); /* optional shadow for depth */
}

.modal-header {
    background-color: #636b2f;
    color: #ffffff;
}

.modal-footer {
    background-color: #636b2f;
    color: #ffffff;
}
.swiper {
    width: 100%;
    overflow: visible;
}

/* Make Swiper navigation arrows more prominent */
.swiper-button-next,
.swiper-button-prev {
  width: 56px;
  height: 56px;
  /* keep a larger clickable area while the visible circle is drawn by ::before */
  background: transparent;
  background-image: none !important; /* ensure no injected SVG/bg shows through */
  -webkit-mask-image: none !important;
  mask-image: none !important;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 50;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

/* inner visible circle about half the size of the button */
.swiper-button-next::before,
.swiper-button-prev::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px; /* larger visible circle */
  height: 48px;
  background: rgba(0,0,0,0.65);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  transition: transform .15s ease, background .15s ease;
  z-index: 1;
}

/* Use more prominent glyphs for arrows */
.swiper-button-prev::after {
  content: "\276E"; /* ❮ */
  font-size: 26px;
  color: #fff;
  font-weight: 800;
  position: relative;
  z-index: 2; /* above the circle */
}

.swiper-button-next::after {
  content: "\276F"; /* ❯ */
  font-size: 26px;
  color: #fff;
  font-weight: 800;
  position: relative;
  z-index: 2; /* above the circle */
}

/* Override Swiper's default SVG/background for button pseudo-elements (remove any injected backgrounds) */
.swiper-button-next::after,
.swiper-button-prev::after {
  background-image: none !important;
  background: transparent !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

/* Also ensure any SVG or child elements injected by Swiper are hidden so only our custom glyphs show */
.swiper-button-next svg,
.swiper-button-prev svg,
.swiper-button-next span,
.swiper-button-prev span {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

/* Hover the visible circle, keep the larger hit area unchanged */
.swiper-button-next:hover::before,
.swiper-button-prev:hover::before {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(0,123,255,0.95);
}

/* Slightly move arrows inward on small screens so they don't overlap content */
@media (max-width: 576px) {
  .swiper-button-next { right: 8px; }
  .swiper-button-prev { left: 8px; }
}
