/* =========================================================
   SERVICES PAGE
========================================================= */

.prevenance-services-main{
  width: 100%;
  overflow: hidden;
  background: #091525;
}

/* =========================================================
   HERO SECTION
========================================================= */

.prev-services-hero{
  position: relative;
  width: 100%;
  min-height: 420px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.prev-services-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: #0B121999;
  z-index: 1;
}

.prev-services-hero__inner{
  position: relative;
  z-index: 2;
  width: min(880px, calc(100% - 30px));
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transform: translateY(26px);
  animation: prevServicesFadeUp .8s ease forwards;
}

.prev-services-hero__eyebrow{
  margin: 0;
  font-family: "Wix Madefor Display", system-ui, sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #00EEFF;
}

.prev-services-hero__heading{
  margin: 0;
  font-family: "Wix Madefor Display", system-ui, sans-serif;
  font-size: 52px;
  line-height: 100%;
  font-weight: 700;
  color: #FFFFFF;
}

.prev-services-hero__description{
  margin: 0;
  font-family: "Wix Madefor Display", system-ui, sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  color: #EEEEEE;
}

/* =========================================================
   MIDDLE BODY BACKGROUND
========================================================= */

.prev-services-body-bg{
  position: relative;
  width: 100%;
  background-color: #091525;
  overflow: visible;
}

.prev-services-body-bg__top,
.prev-services-body-bg__bottom{
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  background-size: contain;
}

.prev-services-body-bg__top{
  top: -11%;
  right: 0;
  width: 100%;
  height: 50%;
  background-image: url("../images/body-bg-right.png");
  background-position: top right;
}

.prev-services-body-bg__bottom{
  left: 0;
  bottom: -6%;
  width: 100%;
  height: 50%;
  background-image: url("../images/body-bg-left.png");
  background-position: bottom left;
}

/* =========================================================
   PILLS SECTION
========================================================= */

.prev-services-pills{
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 90px 0 50px;
}

.prev-services-pills__inner{
  width: min(1200px, calc(100% - 30px));
  margin: 0 auto;
}

.prev-services-pills__wrap{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.prev-services-pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 500px;
  border: 1px solid transparent;
  background: linear-gradient(90deg, #0DF2F233 0%, #FFFFFF1A 100%);
  font-family: "Wix Madefor Display", system-ui, sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
  opacity: 0;
  transform: translateY(18px);
  animation: prevServicesFadeUp .7s ease forwards;
}

.prev-services-pill:nth-child(1){ animation-delay: .05s; }
.prev-services-pill:nth-child(2){ animation-delay: .10s; }
.prev-services-pill:nth-child(3){ animation-delay: .15s; }
.prev-services-pill:nth-child(4){ animation-delay: .20s; }
.prev-services-pill:nth-child(5){ animation-delay: .25s; }
.prev-services-pill:nth-child(6){ animation-delay: .30s; }

.prev-services-pill:hover,
.prev-services-pill:focus{
  border-color: #00EEFF;
  background: linear-gradient(90deg, #00EEFF1A 0%, #0B1521CC 100%);
  transform: translateY(-2px);
  outline: none;
}

.prev-services-pills__inner{
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1200px, calc(100% - 30px));
  margin: 0 auto;
}
/* =========================================================
   PILLARS SECTION
========================================================= */

.prev-services-pillars{
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 10px 0 90px;
}

.prev-services-pillars__inner{
  width: min(1440px, calc(100% - 30px));
  margin: 0 auto;
}

.prev-services-pillar{
  width: 100%;
}

.prev-services-pillar + .prev-services-pillar{
  margin-top: 60px;
}

.prev-services-pillar__title{
  margin: 0 0 40px;
  font-family: "Wix Madefor Display", system-ui, sans-serif;
  font-size: 40px;
  line-height: 100%;
  font-weight: 700;
  text-align: center;
  color: #FFFFFF;
  opacity: 0;
  transform: translateY(24px);
  animation: prevServicesFadeUp .8s ease forwards;
}

.prev-services-cards{
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.prev-services-card{
  width: 100%;
  border-radius: 20px;
  border: 1px solid #00EEFF4D;
  background: linear-gradient(90deg, #0DF2F233 0%, #FFFFFF1A 100%);
  padding: 40px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(30px);
  animation: prevServicesFadeUp .85s ease forwards;
}

.prev-services-card__content{
  width: 80%;
  min-width: 0;
}

.prev-services-card__visual{
  width: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.prev-services-card__title{
  margin: 0 0 14px;
  font-family: "Wix Madefor Display", system-ui, sans-serif;
  font-size: 24px;
  line-height: 34px;
  font-weight: 600;
  text-transform: capitalize;
  color: #FFFFFF;
}

.prev-services-card__description{
  margin: 0 0 20px;
  font-family: "Wix Madefor Display", system-ui, sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  color: #EEEEEE;
}

.prev-services-card__features{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prev-services-feature{
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.prev-services-feature__icon{
  width: 24px;
  height: 24px;
  min-width: 24px;
  object-fit: contain;
  margin-top: 1px;
}

.prev-services-feature__content{
  min-width: 0;
}

.prev-services-feature__title{
  margin: 0 0 4px;
  font-family: "Wix Madefor Display", system-ui, sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  text-transform: capitalize;
  color: #00EEFF;
}

.prev-services-feature__description{
  margin: 0;
  font-family: "Wix Madefor Display", system-ui, sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  color: #EEEEEE;
}

.prev-services-card__download{
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: 0;
  font-family: "Wix Madefor Display", system-ui, sans-serif;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  text-transform: capitalize;
  color: #00EEFF;
  text-decoration: none;
  transition: opacity .25s ease, transform .25s ease;
}

.prev-services-card__download:hover{
  opacity: .85;
  transform: translateX(3px);
}

.prev-services-card__download-icon{
  width: 24px;
  height: 24px;
  min-width: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  color: #00EEFF;
}

.prev-services-card__visual-ring{
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev-services-card__right-icon{
  height: 220px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.prevenance-services-section__card-icon,
.prevenance-services-section__card-link-icon{
  isolation: isolate;
  position: relative;
  z-index: 3;
}

.prevenance-services-section__card-icon img,
.prevenance-services-section__card-link-icon img{
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  transform: none !important;
  box-shadow: none !important;
}

/* =========================================================
   ENTRANCE ANIMATION
========================================================= */

@keyframes prevServicesFadeUp{
  from{
    opacity: 0;
    transform: translateY(30px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   SCROLL ENTRANCE ANIMATION
========================================================= */

.prev-scroll-animate{
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--prev-anim-delay, 0s);
  will-change: opacity, transform;
}

.prev-scroll-animate.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* Remove old load animations */
.prev-services-hero__inner,
.prev-services-pill,
.prev-services-pillar__title,
.prev-services-card{
  animation: none !important;
}

/* Slightly nicer card entrance */
.prev-services-card.prev-scroll-animate{
  transform: translateY(42px) scale(0.985);
}

.prev-services-card.prev-scroll-animate.is-visible{
  transform: translateY(0) scale(1);
}

/* Optional hover should still work properly */
.prev-services-pill.is-visible:hover,
.prev-services-pill.is-visible:focus,
.prev-services-pill.is-visible.is-active{
  transform: translateY(-2px);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce){
  .prev-scroll-animate{
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   SCROLL UP BUTTON
========================================================= */

.prev-services-scroll-up{
	position: fixed;
	right: 30px;
	bottom: 30px;
	width: 62px;
	height: 62px;
	border: 1px solid rgba(0, 238, 255, 0.22);
	border-radius: 50%;
	background:
		linear-gradient(
			180deg,
			rgba(13, 242, 242, 0.18) 0%,
			rgba(11, 21, 33, 0.92) 100%
		);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	transform: translateY(18px);
	transition:
		opacity .35s ease,
		transform .35s ease,
		visibility .35s ease,
		border-color .25s ease,
		background .25s ease;
	box-shadow:
		0 10px 30px rgba(0, 238, 255, 0.10),
		inset 0 1px 0 rgba(255,255,255,0.06);
}

.prev-services-scroll-up.is-visible{
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.prev-services-scroll-up:hover{
	border-color: rgba(0, 238, 255, 0.55);
	background:
		linear-gradient(
			180deg,
			rgba(0, 238, 255, 0.28) 0%,
			rgba(11, 21, 33, 0.96) 100%
		);
	transform: translateY(-4px);
}

.prev-services-scroll-up img{
	width: 22px;
	height: 22px;
	object-fit: contain;
	display: block;
}

/* =========================================================
   LAPTOP RESPONSIVE
========================================================= */

@media (min-width: 1025px) and (max-width: 1440px){
  .prev-services-pills{
    padding: 90px 20px 50px 20px;
    box-sizing: border-box;
  }

  .prev-services-pillars{
    padding: 10px 20px 90px;
    box-sizing: border-box;
  }

  .prev-services-pills__inner,
  .prev-services-pillars__inner{
    width: 100%;
  }

  .prev-services-card{
    padding: 40px 48px;
  }

  .prev-services-card__right-icon{
    height: 200px;
  }
}

/* =========================================================
   TABLET RESPONSIVE
========================================================= */

@media (min-width: 768px) and (max-width: 1024px){
  .prev-services-hero{
    min-height: 390px;
  }

  .prev-services-hero__heading{
    font-size: 44px;
  }

  .prev-services-pills{
    padding: 70px 20px 40px 20px;
    box-sizing: border-box;
  }

  .prev-services-pillars{
    padding: 10px 20px 70px;
    box-sizing: border-box;
  }

  .prev-services-pills__inner,
  .prev-services-pillars__inner{
    width: 100%;
  }

  .prev-services-card{
    padding: 34px 34px;
    gap: 30px;
  }

  .prev-services-card__content{
    width: 72%;
  }

  .prev-services-card__visual{
    width: 28%;
  }

  .prev-services-card__right-icon{
    height: 170px;
  }
}

/* =========================================================
   MOBILE RESPONSIVE
========================================================= */

@media (min-width: 320px) and (max-width: 767px){
  .prev-services-hero{
    min-height: 360px;
    padding: 70px 15px;
    box-sizing: border-box;
  }

  .prev-services-hero__inner{
    width: 100%;
  }

  .prev-services-hero__heading{
    font-size: 36px;
  }

  .prev-services-hero__eyebrow,
  .prev-services-hero__description{
    font-size: 14px;
    line-height: 24px;
  }

  .prev-services-pills{
    padding: 60px 15px 20px;
    box-sizing: border-box;
  }

  .prev-services-pills__inner{
    width: 100%;
  }

  .prev-services-pills__wrap{
    justify-content: flex-start;
    gap: 12px;
  }

  .prev-services-pill{
    width: 100%;
    justify-content: center;
    font-size: 15px;
    line-height: 24px;
    text-align: center;
  }

  .prev-services-pillars{
    padding: 10px 15px 60px;
    box-sizing: border-box;
  }

  .prev-services-pillars__inner{
    width: 100%;
  }

  .prev-services-pillar + .prev-services-pillar{
    margin-top: 46px;
  }

  .prev-services-pillar__title{
    margin-bottom: 28px;
    font-size: 32px;
  }

  .prev-services-cards{
    gap: 28px;
  }

  .prev-services-card{
    padding: 28px 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .prev-services-card__content,
  .prev-services-card__visual{
    width: 100%;
  }

  .prev-services-card__visual{
    justify-content: center;
  }

  .prev-services-card__title{
    font-size: 22px;
    line-height: 32px;
  }

  .prev-services-card__description,
  .prev-services-feature__title,
  .prev-services-feature__description,
  .prev-services-card__download{
    font-size: 15px;
    line-height: 25px;
  }

  .prev-services-card__right-icon{
    height: 170px;
  }

  .prev-services-body-bg__top{
    width: 320px;
    height: 520px;
    top: 5%;
    right: 0;
  }

  .prev-services-body-bg__bottom{
    width: 340px;
    height: 520px;
    left: 0;
    bottom: -2%;
  }
}