:root {
  color-scheme: dark;
}

.white-logo,
.black-logo {
  display: none;
}

html[color-scheme="dark"] .white-logo {
  display: block;
}

html[color-scheme="light"] .black-logo {
  display: block;
}

html[color-scheme="dark"] .home-page-menu-link {
  color: #000;
}

html[color-scheme="light"] .home-page-menu-link {
  color: #fff;
}

html[color-scheme="light"] .about-jcbl-group {
  color: #000;
}

html[color-scheme="dark"] .about-jcbl-group {
  color: #fff;
  font-weight: 300;
}

.hero-01-image.image-01 {
  width: 600px;
}

.mxd-hero-06__video {
  border-radius: 0;
}

.mxd-hero-06__video video {
  border-radius: 0;
}

div#divider-image-1 {
  background-size: contain;
}

.hero-img-custom {
  width: 150px;
}

.mxd-pulse-custom {
  width: 300px;
}

.custom-marquee-sec p.marquee__text {
  font-size: 6rem;
}

.our-clients-section .marquee__item {
  width: 250px;
  height: 250px;
}

.our-clients-section p {
  font-size: 1rem !important;
}

.our-clients-section .marquee__link {
  background: #fff;
}

.our-clients-section .marquee__link img {
  object-fit: fill !important;
}

@media (min-width: 992px) {
  .hero-img-custom {
    width: 300px;
  }

  .mxd-pulse-custom {
    width: 450px;
  }

  .our-clients-section .marquee__item {
    width: 400px !important;
    height: 400px !important;
  }

  .our-clients-section p {
    font-size: 2rem !important;
  }
}

[color-scheme=dark],
[color-scheme=light] {
  --accent: #1ca0cb;
}

.btn-color-custom,
.btn-additional {
  background-color: #1ca0cb;
  border-color: #1ca0cb;
}

.custom-addon-cards img:hover,
.our-clients-section img:hover,
.mxd-blog-preview img:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

span.count__percent {
  color: #1ca0cb;
}

.blog-preview-image-1 {
  background-image: url(img/blog/preview/blog1.jpeg);
}

.blog-preview-image-2 {
  background-image: url(img/blog/preview/blog2.jpeg);
}

.blog-preview-image-3 {
  background-image: url(img/blog/preview/blog3.jpeg);
}

.mxd-promo__images .promo-image-1 {
  width: 706px !important;
  bottom: 0rem !important;
}

.hidden-content {
  display: none;
}

.read-more,
.read-less {
  color: #1ca0cb;
  cursor: pointer;
  font-weight: bold;
  text-decoration: underline;
}

.expand_sec p,
.expand_sec span {
  font-size: 1.8rem;
  font-weight: 400;
}

.about-img-sec .marquee__item.item-large {
  width: 400px;
  height: 400px;
}

.credibility-sec {
  padding-bottom: 17rem;
}

.mxd-team-cards .mxd-team-cards__photo {
  height: auto;
}

@media (max-width: 767px) {
  ul.features-list.t-bright {
    font-size: 1.5rem !important;
    margin-top: 30px !important;
  }
}

@media only screen and (max-width: 768px) {
  .white-logo,
  .black-logo {
    width: 160px;
  }
}

.background-wrapper {
  position: fixed;
  top: 9rem;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

svg {
  width: 100%;
  height: 100%;
}

.line-base {
  stroke: #A2A2A2;
  stroke-width: 1.2;
  stroke-opacity: 0.15;
  fill: none;
}

.line-highlight {
  stroke: #1ca0cb;
  stroke-width: 1.2;
  stroke-linecap: round;
  fill: none;
  opacity: 0.8;
  stroke-dasharray: 50 1200;
  /* glowing pulse length + gap */
  animation: moveHighlight 6s linear infinite;
}

.line-highlight:nth-of-type(2n) {
  animation-duration: 8s;
}

.line-highlight:nth-of-type(3n) {
  animation-duration: 10s;
}

@keyframes moveHighlight {
  to {
    stroke-dashoffset: -1200;
  }
}

.glow-dot {
  fill: #A2A2A2;
  fill-opacity: 0.06;
  filter: url(#blur);
}

img.parallax-img.grp-banner {
  object-fit: contain !important;
}

.jcbl-stats-fusion {
  margin-top: 2rem;
}

.fusion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.fusion-item {
  background: #ffffff0a;
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 2rem 1rem;
  text-align: center;
  position: relative;
  transition: all 0.4s ease;
  border: 1px solid rgb(0 0 0 / 15%);
  overflow: hidden;
}

.fusion-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,160,203,0.3), rgba(255,255,255,0.05));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.fusion-item:hover::before {
  opacity: 1;
}

.fusion-item h3 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  position: relative;
  z-index: 1;
}

.fusion-item p {
  margin: 0;
  font-size: 1.4rem;
  position: relative;
  z-index: 1;
}

/* Glow effect */
.fusion-item:hover h3 {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
  .fusion-item {
    padding: 1.5rem 0.8rem;
  }
  .fusion-item h3 {
    font-size: 2rem;
  }
  .fusion-item p {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .fusion-grid {
    gap: 1rem;
  }
  .fusion-item {
    padding: 1.2rem;
  }
  .fusion-item h3 {
    font-size: 1.8rem;
  }
  .fusion-item p {
    font-size: 0.9rem;
  }
}

/* Wrapper to align left tabs and content */
.tab-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Left tab styling */
.tab {
  display: flex;
  flex-direction: column;
  flex: 0 0 25%;
  min-width: 200px;
  border-radius: 8px;
  padding: 10px;
}

@media (min-width: 992px) {
  .tab {
    margin-top: 100px;
  }
  div#international_business, div#trading_and_retail {
    margin-top: 100px;
  }
  div#other {
    margin-top: 75px;
  }
}

.tab button {
  display: block;
  background-color: inherit;
  padding: 15px;
  width: 100%;
  border: none;
  outline: none;
  text-align: left;
  cursor: pointer;
  font-size: 18px;
  transition: 0.3s;
  border-radius: 5px;
  margin-bottom: 5px;
  font-weight: 800;
}

.tab button.active,
.tab button:hover {
  color: #1ca0cb !important;
  text-decoration: underline;
  font-weight: 800;
}

/* Right content wrapper */
.tabcontent-wrapper {
  flex: 1;
  min-width: 300px;
  border-radius: 8px;
  padding: 15px;
}

/* Company card styling */
.company-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
  flex-wrap: wrap;
}

.company-card:last-child {
  border-bottom: none;
}

.company-card img {
  max-width: 120px;
  height: auto;
  transition: transform 0.3s;
}

.company-card img:hover {
  transform: scale(1.05);
}

.company-info {
  flex: 1;
  min-width: 200px;
}

.company-info p {
  font-weight: 400;
  font-size: 1.8rem;
  color: #fff;
  text-decoration: none;
}

html[color-scheme="light"] .company-info p {
  color: #000;
}

html[color-scheme="light"] .tab button {
  color: #161616;
}

.company-info a {
  font-weight: 300;
  font-size: 1.4rem;
  color: #ccc;
}

.company-info a:hover {
  text-decoration: underline;
}

.company-website {
  color: #888;
  font-size: 0.9rem;
  margin-top: 5px;
}

/* Responsive */
@media (max-width: 992px) {
  .tab-wrapper {
    flex-direction: column;
  }
  .tab {
    width: 100%;
    justify-content: flex-start;
  }
  .tabcontent-wrapper {
    width: 100%;
  }
}

.tabcontent .company-card img {
  max-width: 70px;
  width: 70px;
}

#map {
  height: 720px;
  width: 100%;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

#wmap {
  height: 720px;
  width: 100%;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.network-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin-left: 2rem;
}

.network-columns ul,
.network-section ul {
  margin: 0;
  padding: 0;
  list-style: circle;
}

.network-columns ul li {
  margin-bottom: 6px;
}

@media (max-width: 992px) {
  .network-columns {
    margin-left: 1.5rem;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .network-columns {
    margin-left: 0;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .network-columns ul {
    width: 100%;
    list-style-position: inside;
  }
}

.network-wrapper {
  display: block;
  gap: 40px;
}

@media (max-width: 992px) {
  .network-wrapper {
    grid-template-columns: 1fr; /* stack vertically */
    gap: 20px;
  }

  .network-section {
    width: 100%;
  }
}

.network-category ul {
  margin-left: 3rem !important;
}

.mxd-logo img {
  width: 250px;
}

@media only screen and (max-width: 768px) {
  .mxd-logo img {
    width: 160px !important;
  }
}

.footer-li-toggle.footer-nav__item--dropdown {
  position: relative;
  overflow: visible;
}

.footer-li-toggle .footer-dropdown__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease;
}

/* CSS arrow instead of a text character */
.footer-li-toggle .footer-dropdown__arrow {
  width: 0;
  height: 0;
  margin-top: 3px;
  border-top: 5px solid currentColor;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  transition: transform 0.2s ease;
}

.footer-li-toggle .footer-dropdown__menu {
  max-height: 0;
  margin: 0;
  padding: 0 0 0 16px;
  overflow: hidden;
  list-style: none;
  opacity: 0;
  transition:
    max-height 0.3s ease,
    opacity 0.2s ease,
    margin 0.3s ease;
}

.footer-li-toggle .footer-dropdown__menu li {
  margin-top: 8px;
}

.footer-li-toggle .footer-dropdown__menu a {
  color: inherit;
  transition: color 0.2s ease;
}

.footer-li-toggle.footer-nav__item--dropdown.is-open .footer-dropdown__menu {
  max-height: 120px;
  opacity: 1;
}

.footer-li-toggle.footer-nav__item--dropdown.is-open .footer-dropdown__arrow {
  transform: rotate(180deg);
}