* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

#root {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

iframe#rc-anchor-container {
  border-radius: 15px !important;
}

section {
  opacity: 0;

  transform: translateY(30px);
}

section.show {
  opacity: 1;
  transform: translateY(0);
  transition: 800ms cubic-bezier(0.5, 0, 0, 1);
}

.sectionSecond {
  opacity: 0;
  transition: 600ms ease;
}

.sectionSecond.show {
  opacity: 1;
}

.animate-scroll {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll-marquee 25s linear infinite;
}

.scroll-linear:hover .animate-scroll {
  animation-play-state: paused;
}

@keyframes scroll-marquee {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-50%); /* move half (because we duplicated) */
  }
}

.no-scrollbar ::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.bg-hero-overlay {
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

.flex-row-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.flex-col-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.image-shadow {
  box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.25);
}

.productcard-shadow {
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
}

.mobFilterDropDown-shadow {
  box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.25);
}

.blogCard-blend {
  background: rgba(73, 73, 73, 0.3);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(13.7px);
  -webkit-backdrop-filter: blur(13.7px);
}

.blogimg-color {
  background: #4b4b4b;
  background: linear-gradient(
    180deg,
    rgba(75, 75, 75, 0) 0%,
    rgba(75, 75, 75, 1) 100%
  );
}

.teamCard-color {
  background: linear-gradient(
      180deg,
      rgba(75, 75, 75, 0) 0%,
      rgba(75, 75, 75, 0.2) 83.65%
    ),
    url(<path-to-image>) lightgray 50% / cover no-repeat;
}

.product-nav-active {
  color: #028996;
  font-weight: 600;
}

.mob-product-tab.active {
  color: #028996;
  border-bottom: 2px solid #21272a;
  font-weight: 500;
}

.solution-nav-active {
  border: 1px solid #d9d9d9;
  background-color: #f3f3f3;
  border-radius: 8px;
}

.blogContent strong {
  color: #090909 !important;
  font-weight: 600 !important;
}

.descriptionOverview ul {
  padding-left: 20px !important;
  list-style-type: disc !important;
}

/* mob solution page input */

.mobSolutionCategoryFilterInputActive {
  background-color: #f3f3f3;
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: 600;
}

.mobSolutionCategoryFilterInputHover:hover {
  font-weight: 500;
  letter-spacing: 0;
  color: black;
  padding-left: 0;
}

.teamCard-title-color {
  background: rgba(255, 255, 255, 0.9);
  background-blend-mode: color-dodge;
}

.custom-scroll::-webkit-scrollbar {
  width: 1px;
  height: 4px;
}
.custom-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
.custom-scroll::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}
.custom-scroll::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.strong-primary p strong {
  color: #1a1a1a;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
}
@media (min-width: 1024px) {
  /* lg */
  .strong-primary p strong {
    font-size: 54px;
    line-height: 62px;
  }
}

@media (min-width: 1280px) {
  /* xl */
  .strong-primary p strong {
    font-size: 64px;
    line-height: 72px;
  }
}

@media (min-width: 1700px) {
  .xlg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.border-color {
  border-color: #eaeaea;
}

@keyframes slidein {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slidein {
  animation-name: slidein;
  animation-timing-function: ease;
  animation-fill-mode: forwards;
  animation-duration: 1s;
  animation-delay: var(--slidein-delay, 0ms);
  opacity: 0; /* start hidden for animation */
}

.hidden-blog {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

.hidden-blog.show {
  max-height: 1000px; /* large enough to show content */
  opacity: 1;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

#productHover {
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  pointer-events: none;
  max-height: 0;
  padding: 0 50px;
  overflow: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease, max-height 0.5s ease,
    padding 0.5s ease;
}

#productHover.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  max-height: 646px; /* large enough to show all content */
  padding: 50px;
  overflow: visible;
}

#serviceHover {
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  pointer-events: none;
  max-height: 0;
  padding: 0 50px;
  overflow: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease, max-height 0.5s ease,
    padding 0.5s ease;
}

#serviceHover.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  max-height: 646px; /* large enough to show all content */
  padding: 50px;
  overflow: visible;
}

#searchResults {
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.8s ease, transform 0.8s ease, max-height 0.8s ease,
    padding 0.5s ease;
}

#searchResults.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  max-height: 400px;
  overflow: hidden;
}
/* lg:bg-red-100 xl:bg-green-100 2xl:bg-blue-100 */

#searchResults.clear {
  height: 400px; /* large enough to show all content */
}

#quoteForm {
  opacity: 0;
  pointer-events: none;
  transform: translateX(100vw);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease,
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: none;
}

#quoteForm.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  display: flex;
}

#mobQuoteForm {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100vh); /* start off-screen at bottom */
  transition: opacity 0.4s ease, transform 0.4s ease;
  display: none; /* hidden initially */
}

#mobQuoteForm.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0); /* slide up into place */
  display: flex;
}

#productOverlapQuoteBtn {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: none;
}

#productOverlapQuoteBtn.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  display: flex;
}

#productQuoteForm {
  opacity: 0;
  pointer-events: none;
  transform: translateX(100vw);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease,
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: none;
}

#productQuoteForm.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  display: flex;
}

#mobProductQuoteForm {
  opacity: 0;
  pointer-events: none;
  transform: translateY(100vh); /* start off-screen at bottom */
  transition: opacity 0.4s ease, transform 0.4s ease;
  display: none; /* hidden initially */
}

#mobProductQuoteForm.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0); /* slide up into place */
  display: flex;
}

#mobSearchContainer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  transform: translateY(-100%); /* start fully above */
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
  display: block;
}

#mobSearchContainer.visible {
  transform: translateY(0); /* slide down into place */
  opacity: 1;
  pointer-events: auto;
}

#mobSearchResults {
  position: absolute; /* Make sure it's positioned absolutely if needed */
  left: 0;
  right: 0;
  height: calc(100vh - 81px);
  top: 81px; /* position below your header row */
  z-index: 91;
  opacity: 0;
  transform: translateY(-100px); /* start 40px above */
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  background: #fff; /* or your preferred background */
  display: none; /* initial state, not shown */
}

/* Visible state: slide down and fade in */
#mobSearchResults.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  display: block;
}

#navCollapse {
  position: absolute; /* Make sure it's positioned absolutely if needed */
  left: 0;
  right: 0;
  height: calc(100vh - 81px);
  top: 81px; /* position below your header row */
  z-index: 91;
  opacity: 0;
  transform: translateY(-100px); /* start 40px above */
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  background: #fff; /* or your preferred background */
  display: none; /* initial state, not shown */
}

/* Visible state: slide down and fade in */
#navCollapse.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  display: flex;
}

#loader {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
  pointer-events: none;
}
#loader.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
