#main-nav {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  background: #fff;
}
select option {
  color: #283749;
}
.faq-answer {
  display: none;
}
.faq-answer.open {
  display: block;
}
.faq-icon.open {
  transform: rotate(45deg);
}
@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.ticker-track {
  animation: ticker 18s linear infinite;
}
.ticker-track:hover {
  animation-play-state: paused;
}
/* Stats Bar: swipable on mobile */
.stats-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.stats-scroll-wrap::-webkit-scrollbar {
  display: none;
}

.stats-inner {
  display: flex;
  gap: 32px;
}

.stat-item {
  flex: 0 0 auto;
  /* width: 72vw;
      max-width: 260px; */
  padding: 0 20px;
  border-right: 1px solid #d8d8d8;
}
.stat-item:first-child {
  padding-left: 0;
}
.stat-item:last-child {
  border-right: none;
  padding-right: 0;
}

#offerings-scroll::-webkit-scrollbar {
  display: none;
}
.form-background-block {
  background-image: url("../images/form-background.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (min-width: 1024px) {
  .stats-scroll-wrap {
    overflow: visible;
  }
  .stats-inner {
    justify-content: space-between;
  }
  .stat-item {
    width: auto;
    max-width: none;
    padding: 0;
    border-right: none;
  }
}
.logos-swiper {
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}
.logos-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}
/* ===== BACK TO TOP BUTTON ===== */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 44px;
  height: 44px;
  background: #283749;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}
#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#back-to-top:hover {
  background: #008bd1;
}
#back-to-top svg {
  display: block;
}

/* ===== STICKY LEAD GEN BLOCK ===== */
#lead-gen-block {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 998;
  padding: 38px 16px 16px 16px;
  width: 280px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
#lead-gen-block.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#lead-gen-block.dismissed {
  display: none;
}
#lead-gen-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #283749;
  opacity: 0.6;
  transition: opacity 0.2s;
}
#lead-gen-close:hover {
  opacity: 1;
}
#lead-gen-text {
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
  color: #283749;
  text-align: center;
  margin: 8px 0 14px;
}
#lead-gen-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #283749;
  color: #ffffff;
  border: none;
  padding: 12px 16px;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
#lead-gen-cta:hover {
  background: #008bd1;
}

/* ===== SLIDE-DOWN NAV ===== */
nav.nav-hidden {
  transform: translateY(-100%);
}
nav {
  transition: transform 0.3s ease;
}
.moving-icon-1,
.moving-icon-7 {
  -webkit-animation: mover 3s infinite alternate;
  animation: mover 3s infinite alternate;
}

.moving-icon-2 {
  -webkit-animation: mover 4s infinite alternate 2s;
  animation: mover 4s infinite alternate;
}

.moving-icon-3 {
  -webkit-animation: mover 2s infinite alternate;
  animation: mover 2s infinite alternate;
}
.moving-icon-4 {
  -webkit-animation: mover 4s infinite alternate;
  animation: mover 4s infinite alternate;
}
.moving-icon-5 {
  -webkit-animation: mover 3s infinite alternate;
  animation: mover 3s infinite alternate;
}
.moving-icon-6 {
  -webkit-animation: mover 5s infinite alternate;
  animation: mover 5s infinite alternate;
}
@-webkit-keyframes mover {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px);
  }
}
@keyframes mover {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px);
  }
}

/* === TESTIMONIAL STACKING CARDS === */

/*
     * CRITICAL: sticky positioning breaks if ANY ancestor has
     * overflow: hidden / auto / scroll. The page wrapper
     * <div class="font-manrope bg-white overflow-x-hidden">
     * uses Tailwind's overflow-x-hidden which sets overflow-x: hidden
     * and that kills sticky for all descendants.
     *
     * We override it here so sticky works, while keeping the
     * same visual clipping via clip-path instead.
     */
.font-manrope.overflow-x-hidden {
  overflow-x: clip; /* clip behaves like hidden visually but does NOT create a scroll container, so sticky still works */
}

/* The #testimonials wrapper — needs overflow visible */
#testimonials {
  position: relative;
  overflow: visible;
}

/* Container grid — mirrors .hs5-cards-block */
.testimonials-cards-block {
  display: grid;
  grid-auto-columns: 1fr;
  grid-column-gap: 0;
  grid-row-gap: 0;
  grid-template-rows: auto;
  grid-template-columns: 1fr;
}

/* Each card — mirrors .hs5-card */
.testimonial-card {
  position: sticky;
  top: 90px;
  overflow: hidden;
  margin: 0 0 3.2rem 0;
  /*  box-shadow: 0px -13px 15.8px -5px rgba(0, 0, 0, 0.05); */
  will-change: transform;
  transform-origin: top center;
}
.gradient-border-block {
  position: relative;
  box-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(10px);
  background: linear-gradient(
    133deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0.8) 100%
  );
  border: none;
  overflow: hidden;
  isolation: isolate;
}
.gradient-border-block:before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  background: linear-gradient(
    169deg,
    #f8f9fb 1.07%,
    #403b75 43.98%,
    #f8f9fb 100.75%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}
.form-container {
  position: relative;
  padding: 24px;
  box-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(10px);
  background: linear-gradient(
    133deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0.8) 100%
  );
  border: none;
  overflow: hidden;
  isolation: isolate;
}
.form-container::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  background: linear-gradient(
    169deg,
    #f8f9fb 1.07%,
    #403b75 43.98%,
    #f8f9fb 100.75%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}
/*contact form styles*/
.form-group {
  margin-bottom: 16px;
}
.input-lable {
  display: inline-block;
  max-width: 100%;
  color: #283749;
  font-family: Manrope;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
  text-transform: uppercase;
  margin-bottom: 9px;
}

.input-lable span {
  color: #be2b2b;
}
.wpcf7-form-control-wrap {
  position: relative;
}
.input-box {
  color: #283749;
  font-family: Manrope;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  width: 100%;
  border: none;
  border-bottom: 1px solid #d7d9e0;
  padding-bottom: 10px;
  padding-top: 3px;
  border-radius: 0;
}

.input-box::placeholder {
  color: #d8d8d8;
}
textarea.input-box {
  height: 124px;
  resize: none;
  display: flex;
  align-items: flex-end;
  padding-top: 67px;
}
.input-box:focus {
  outline: none;
}
.nice-select.input-box {
  height: 35px;
  padding-left: 0px;
  float: none;
}
.nice-select.input-box:after {
  background: url(../images/select-dropdown-arrow.svg);
  border: none;
  height: 10px;
  width: 16px;
  transform: rotate(0deg);
  background-repeat: no-repeat;
}
.input-box.nice-select .current {
  color: #d8d8d8;
}

.input-box.nice-select.has-value .current {
  color: #283749;
}
.section-para p {
  color: #525252;
}
.project-submit {
  margin-top: 9px;
}
.input-box.nice-select .list {
  width: 100%;
}
.services-checkbox-grid .wpcf7-checkbox {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}

/* Last item (5th) spans full width like in screenshot */
.services-checkbox-grid .wpcf7-checkbox .wpcf7-list-item:last-child {
  grid-column: 1 / -1;
}

.services-checkbox-grid .wpcf7-list-item {
  margin: 0;
}

.services-checkbox-grid .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-family: Manrope;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  color: #283749;
  text-transform: uppercase;
}

.services-checkbox-grid .wpcf7-list-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1px solid #d8d8d8;
  border-radius: 0;
  background: #fff;
  cursor: pointer;
  margin-top: 1px;
  outline: none;
}

.services-checkbox-grid .wpcf7-list-item input[type="checkbox"]:checked {
  background: #283749;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
  border: 1px solid #283749;
}

@media (max-width: 780px) {
  .services-checkbox-grid .wpcf7-checkbox {
    grid-template-columns: 1fr;
  }

  .services-checkbox-grid .wpcf7-checkbox .wpcf7-list-item:last-child {
    grid-column: auto;
  }
}

.services-group.has-error .services-checkbox-grid {
  border-left: 2px solid red;
  padding-left: 8px;
}
.btn-borderded-bokaap.dark-btn {
    color: #fff;
    background-color: #283749;
    border: 1px solid #283749;
    display: inline-flex;
    gap: 10px;
}

.btn-borderded-bokaap.dark-btn:hover {
    background-color: #27a5e7;
    border-color: #27a5e7;
}
.btn-borderded-bokaap {
    cursor:pointer;
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    line-height: 24px;
    font-family: 'Manrope';
    font-weight: normal;
    color: #283749;
    border: 1px solid #283749;
    text-transform: uppercase;
    align-items: center;
}
.wpcf7-spinner{
  position:absolute !important;
  z-index: 10;
  right: 0;
  left: 0;
  margin: 0 auto;
  top: 0;
  bottom: 0;
  transform: translateY(50%);
}
.submit-wrapper{
  position:relative;
}
/*contact form styles*/

/* ===== STATS BAR SWIPER ===== */
.stats-scroll-wrap {
  overflow: hidden;
  /* mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  ); */
}

.stats-swiper {
  width: 100%;
  overflow: hidden;
}

.stats-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
  align-items: center;
}

.stats-swiper .swiper-slide {
  width: auto !important;
  flex-shrink: 0;
}

.stat-item {
  height: auto;
  padding: 0;
  border-right: none;
  white-space: nowrap;
}

#hero-section-leadgen {
  margin-top: 82px;
}
.text-h1 {
  font-size: 72px;
  line-height: 80px;
}

/*Video popup*/
.video-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.video-popup.active {
  display: flex;
}

.video-popup-content {
  position: relative;
  width: 90%;
  max-width: 1026px;
  aspect-ratio: 16 / 9;
}

.video-popup .close-video {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  background: none;
  border: none;
  line-height: 1;
}

.video-popup .close-video:hover {
  opacity: 0.7;
}

.video-popup .video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.video-popup .video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-popup .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  background: transparent;
}

.video-popup .video-controls {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}

.video-popup .video-controls.hide-btn {
  opacity: 0;
  visibility: hidden;
}

.video-popup .custom-play-btn,
.video-popup #toggleMute {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(2px);
}

.video-popup .custom-play-btn:hover,
.video-popup #toggleMute:hover {
  background: rgba(0, 0, 0, 0.6);
}
/*Video popup*/

@media screen and (max-width: 1279px) {
  .leadgen-page-h1 {
    font-size: clamp(28px, 9vw, 40px) !important;
    line-height: clamp(34px, 10.8vw, 48px) !important;
  }
  .leadgen-section-title {
    font-size: clamp(28px, 9vw, 32px) !important;
    line-height: clamp(34px, 10.8vw, 42px) !important;
  }
}

/* Desktop static layout */
@media (min-width: 1024px) {
  .stats-scroll-wrap {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .stats-swiper {
    overflow: visible;
  }

  .stats-swiper .swiper-wrapper {
    display: flex;
    justify-content: space-between;
    transform: none !important;
  }

  .stats-swiper .swiper-slide {
    width: auto !important;
    flex-shrink: 1;
    margin-right: 0 !important;
  }

  .stat-item {
    white-space: normal;
  }
}

@media (min-width: 768px) {
  .logos-swiper {
    mask-image: none;
    -webkit-mask-image: none;
  }
  .logos-swiper .swiper-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    transform: none !important;
  }
}

@media screen and (max-width: 1023px) {
  .testimonial-card {
    margin: 0 0 20px 0;
    top: 45px;
  }
  #hero-section-leadgen {
    margin-top: 73px;
  }
}
@media screen and (max-width: 768px) {
  .text-h1 {
    font-size: 40px;
    line-height: 48px;
  }
  #lead-gen-block {
    padding: 24px 12px 12px 12px;
    width: 190px;
  }
  #lead-gen-text {
    font-size: 14px;
    line-height: 20px;
  }
  #lead-gen-cta {
    padding: 8px 12px;
    font-size: 12px;
    line-height: 16px;
  }
  #lead-gen-close {
    top: 12px;
    right: 12px;
  }
  #lead-gen-close svg,
  #lead-gen-cta svg {
    width: 12px;
  }
  /* .leadgen-section-title{
    font-size:32px !important;
    line-height:42px !important;
  } */
  .leadgen-page-h1 {
    font-size: clamp(28px, 9vw, 40px) !important;
    line-height: clamp(34px, 10.8vw, 48px) !important;
  }
  .leadgen-section-title {
    font-size: clamp(28px, 9vw, 32px) !important;
    line-height: clamp(34px, 10.8vw, 42px) !important;
  }
}
@media screen and (max-width: 640px) {
  .hero-cta-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ===== WYSIWYG EDITOR CONTENT LINKS ===== */
.wysiwyg-content a,
.faq-answer a {
  color: #283749;
  text-decoration: underline;
  text-underline-offset: 2px;
}
