/* Mega menu styling */
.mega-menu {
  width: 100%;
  left: 0;
  right: 0;
  padding: 2rem;
  border: none;
  /* box-shadow: 0 10px 30px rgba(0,0,0,0.08); */
}

.mega-menu h6 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.mega-menu a {
  text-decoration: none;
  color: #000;
  display: block;
  padding: 6px 0;
}
a {
  color: #000;
}
.button.button--squared {
  color: #fff !important;
}
.carousel-caption a:hover {
  background: #0cc0df;
  color: #ffffff;
}
.mega-menu a:hover {
  color: #0d6efd;
}
.logo-img {
  width: 125px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Open Sans", sans-serif;
  font-weight: 700 !important;
  font-style: normal;
}
p {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #000;
  text-align: justify;
}
.team-item__position a {
  color: #000;
}
.carousel-caption h2 {
  font-size: clamp(1.875rem, -0.2679rem + 4.4643vw, 3.75rem);
}
.carousel-caption {
  bottom: 28% !important;
}
.heading__title {
  color: #04475e;
}
.carousel-caption a {
  color: #000;
  border: 2px solid #fff;
  border-radius: 30px;
  padding: 12px 40px;
  margin-top: 20px;
  font-weight: 600;
  background: #fff;
}
.nav-item a {
  font-family: "Open Sans", sans-serif;
}
.top-nav {
  background: rgb(4 71 94);
  padding: 15px 0px;
  text-align: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}
.section.knowledge-p h2 {
  margin-bottom: 20px;
  color: #04475e;
}
.section.knowledge-p h4 {
  margin-bottom: 30px;
}
.case-studies-heading {
  background: #0cc0df;
  color: #fff;
  margin: 0;
  font-size: 42px;
  text-align: center;
  padding: 10px;
}
.action-block__title a {
  color: #fff;
  text-decoration: none;
  background: #0000005c;
  line-height: normal;
}
.banner-white {
  padding: 40px 20px;
  background: #fff;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}
.banner-white h2 {
  margin-bottom: 20px;
}
.two-btn-gap {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
/* .carousel-control-next-icon{
  background-image: url(assets/img/right-arrow.png);
} */
.marquee-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #04475e;
  padding: 30px 0;
}

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.marquee-track img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 10px;
}
.marquee-track:hover {
    animation-play-state: paused;
}

/* Continuous smooth scroll */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.7);
  border: none;
  font-size: 26px;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.prev {
  left: 10px;
}
.next {
  right: 10px;
}

.map-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  overflow: hidden;
}

.map-bg {
  display: block;
  width: 100%;
  height: auto; /* Keeps the map aspect ratio */
}

.marker {
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: #00c2e0; /* Match your blue */
  border: 2px solid white;
  border-radius: 50%;
  cursor: pointer;
  transform: translate(-50%, -50%); /* Centers the dot on the coordinate */
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Hover Effect: Changes color and grows */
.marker:hover {
  background-color: #0cc0df; /* Match your yellow */
  transform: translate(-50%, -50%) scale(1.5);
  z-index: 10;
}

/* Simple Tooltip */
/* #map-tooltip {
  position: absolute;
  background: #333;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  pointer-events: none;
  display: none;
  white-space: nowrap;
  z-index: 20;
} */

@media (max-width: 768px) {
  .marquee-track img {
    width: 300px;
    height: 250px;
  }
}

@media only screen and (max-width: 768px) {
  .carousel-item {
    height: 500px;
  }
  .carousel-item img {
    height: 500px;
    object-fit: cover;
  }
  .carousel-caption h2 {
    font-size: 30px;
  }
  .carousel-caption {
    bottom: 15% !important;
  }
  .footer .footer-logo-d {
    width: 40% !important;
    margin-bottom: 20px;
  }
  .bottom-footer-sec p {
    font-size: 13px;
  }
}

@media only screen and (max-width: 991px) {
  .hero-carousel {
    margin-top: 90px;
  }
}

@media only screen and (min-width: 991px) {
  .dropdown-trigger.d-none.d-sm-block {
    visibility: hidden;
  }
}
