/*
Theme Name: Reeva
Theme URI: https://reeva.sa
Description: Reeva Website
Author: Mohammad Suleiman
Template: blocksy
Version: 1.0.0
*/

@font-face {
    font-family: 'KUBO';
    src: url('assets/fonts/kubo/kubo.woff2') format('woff2'),
		 url('assets/fonts/kubo/kubo.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'TSPixopedia';
    src: url('assets/fonts/ts_pixopedia/TSPixopedia.woff2') format('woff2'),
		 url('assets/fonts/ts_pixopedia/TSPixopedia.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'kufigraph';
    src: url('assets/fonts/kufigraph/Kufigraph.woff2') format('woff2'),
		 url('assets/fonts/kufigraph/Kufigraph.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.kubu {
	font-family: KUBO, Arial, sans-serif;
}

#header [data-row*="middle"] {
	height: 80px;
  display: flex;
  align-items: center;
	background-color: transparent;
}
#header [data-device=desktop] .ct-container,
#header [data-device=mobile] .ct-container {
	border: 1px solid #000;
  border-radius: 49px;
  padding: 0 25px;
  height: 60px;
  background: #fff;
}

.w-bg {
	background: #fff;
}
.b-bg {
	background: #000;
}


.home-hero-info h1 {
	font-size: 3.5em;
	line-height: 1em
}
.home-hero-info h1 mark {
	font-family: Urbanist;
	text-transform: uppercase;
}
.reeva-section-wrap {
	position: relative;
}
.home-hero-wrap, .has-pixels-bg {
	overflow: hidden;
}

.reeva-section {
	width: var(--theme-block-width);
	max-width: var(--wp--style--global--content-size);
  margin: 0 auto;
	padding-top: 100px;
	padding-bottom: 100px;
}
.reeva-section .columns-3 {
	margin-top: 50px;
	display: flex;
	gap: 7%;
}
.reeva-section .columns-3 p {
	margin-top: 25px;
}
.reeva-section.vh {
	min-height: 100vh;
}

.hero-pic-box {
  position: relative;
}
.hero-icn {
  width: 60px;
  height: 60px;
  position: absolute;
	opacity: 0;
	background-size: 100% !important;
}
.h-icn1 {
	top: 0;
  left: 35%;
}
.h-icn2 {
	top: 5%;
}

.animate .hero-icn {
	animation: popUp 1s ease-in-out forwards;
}

.columns-3 > div {
  width: 33.3%;
}

.services-slider-wrap {
  display: flex;
	gap: 50px;
}
.services-intro {
  width: 40%;
	display: flex;
  flex-direction: column;
  justify-content: center;
}
.services-slider {
	width: 60%;
	position: relative;
  display: flex;
  align-items: center;
}
.services-slides {
	margin: 0 60px;
  width: calc(100% - 120px);
  display: flex;
  align-items: center;
  overflow: hidden;
  flex-wrap: nowrap;
}
.services-slide {
  width: 100%;
	min-width: 100%;
	padding-top: 200px;
}
.services-slide h3 {
	margin-bottom: 0;
	margin-top: 10px;
}
.services-slider .slider-nav > span {
	display: block;
  position: absolute;
  width: 35px;
  height: 35px;
  background-color: #b538ff;
  top: calc(50% - 17px);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80%;
	cursor: pointer;
}
.services-slider .slider-nav > span:hover {
	background-color: #000;
}
.services-slider .slider-nav .prev {
	left: 0;
	background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22%23fff%22%20class%3D%22bi%20bi-arrow-left-short%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M12%208a.5.5%200%200%201-.5.5H5.707l2.147%202.146a.5.5%200%200%201-.708.708l-3-3a.5.5%200%200%201%200-.708l3-3a.5.5%200%201%201%20.708.708L5.707%207.5H11.5a.5.5%200%200%201%20.5.5%22%2F%3E%3C%2Fsvg%3E");
}
.services-slider .slider-nav .next {
	right: 0;
	background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22%23fff%22%20class%3D%22bi%20bi-arrow-right-short%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M4%208a.5.5%200%200%201%20.5-.5h5.793L8.146%205.354a.5.5%200%201%201%20.708-.708l3%203a.5.5%200%200%201%200%20.708l-3%203a.5.5%200%200%201-.708-.708L10.293%208.5H4.5A.5.5%200%200%201%204%208%22%2F%3E%3C%2Fsvg%3E");
}
.services-slider .nav-indicator {
	position: absolute;
  left: 0;
  width: 100%;
  bottom: -30px;
	display: flex;
  align-items: end;
  justify-content: center;
  gap: 5px;
}
.nav-indicator .nav {
  width: 25px;
  height: 5px;
  background: #fff138;
	cursor: pointer;
	transition: height 0.2s linear;
}
.nav-indicator .nav.active,
.nav-indicator .nav:hover {
	height: 10px;
	background: #000;
}

.services-slide .figure-wrap {
	height: 100px;
  background: #7338ff;
  width: 100%;
  position: relative;
	margin: 0 auto;
}
.services-slide .figure {
	position: absolute;
  bottom: 0;
  width: 300px;
  right: 0;
}

.s-icon {
  width: 50px;
  height: 50px;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
	background-repeat: no-repeat;
	background-size: 100%;
}
.s-icn1 {
	top: 80px;
	left: -50px;
}
.s-icn2 {
	top: 20px;
	left: -100px;
}
.w-color {
	color: #fff;
}
.p1-color {
	color: #7338ff;
}
.p2-color {
	color: #b538ff;
}
.pixelated-title {
	font-size: 4rem;
	line-height: 30px;
  color: #7338ff;
}
.fixed-intro .pixelated-title {
	margin-top: 20px;
}
.pixelated-title.p-center {
	text-align: center;
}
.pixelated-title > span {
	display: inline-block;
	padding-left: 10px;
	border-left: 30px solid #FFF138;
}
.pixelated-title.p-center > span {
	padding-right: 10px;
	border-right: 30px solid #FFF138;
}

.v-center {
	text-align: center;
	max-width: 750px;
	margin: 0 auto;
}

.c-center {
	justify-content: center;
	margin-top: 30px
}

.r-highlight {
	color: #7338ff;
}
.intro-and-content {
	display: flex;
	gap:40px;
}
.fixed-intro-wrap {
	width: 50%;
	position: relative;
}
.fixed-intro {
	position: sticky;
	top: 200px;
}
.pixelated-img {
  position: relative;
}
.pixelated-img::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background: #000;
  position: absolute;
  top: 30px;
  left: 0;
  z-index: 1;
}
.pixelated-img::after {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background: #fff138;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.scrollable-content {
	width: 50%;
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.scrollable-content h4 {
	color: #7338ff;
	margin-top: 15px;
	margin-bottom: 10px;
}

.wp-block-button__link.wp-element-button::after {
  display: inline-block;
  width: 53px;
  height: 53px;
  content: "";
	background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22currentColor%22%20class%3D%22bi%20bi-arrow-right-short%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M4%208a.5.5%200%200%201%20.5-.5h5.793L8.146%205.354a.5.5%200%201%201%20.708-.708l3%203a.5.5%200%200%201%200%20.708l-3%203a.5.5%200%200%201-.708-.708L10.293%208.5H4.5A.5.5%200%200%201%204%208%22%2F%3E%3C%2Fsvg%3E");
	background-repeat: no-repeat;
	background-size: 75%;
	background-position: center center;
  background-color: #fff;
  border-radius: 50px;
  position: absolute;
  right: 0;
	border: 10px solid #7338ff;
	transition: border-color 0.2s ease;
}
.wp-block-button__link.wp-element-button:hover::after {
	border-color: #b538ff;
}
.wp-block-button__link.wp-element-button {
  position: relative;
	height: 53px;
	white-space: nowrap;
	overflow: hidden;
}
.wp-block-button__link.wp-element-button.style2 {
	border: 1px solid #fff;
}
.wp-block-button__link.wp-element-button.style2:hover {
	border: 1px solid #b538ff;
}
.ct-back-to-top {
	border-radius: 0 !important;
}

.is-layout-constrained > .alignfull {
  margin: 0;
}

.home-hero {
	/*position:relative;*/
	min-height: 100vh;
	display: flex;
}
.pixel-pattern {
	position: absolute;
	top: 0;
	right: 0;
	/*left: 0;
	bottom: 0;*/
	pointer-events: none;
	z-index: 0;
	aspect-ratio: 1/1;
  width: 100%;
	/*padding-top:100px;*/
}
.home-hero-info {
	width: 50%;
	margin-top: 50px;
	margin-bottom: 50px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.home-hero-pic {
	width: 50%;
	margin-top: 100px;
	margin-bottom: 50px;
	display: flex;
	justify-content: end;
	align-items: center;
}
.hero-pic-box {
	width: 90%;
}
.hero-pic-box .polygon {
	width: 100%;
	/*height: 100%;*/
	position: absolute;
	/*background-repeat: no-repeat;
	background-position: left bottom;
	background-image: url("./assets/images/wht-polygon-bg+.svg");
	background-size: 100% auto;*/
	height: 40%;
	bottom: 0;
	background: none;
	background: #7338ff;
	
	opacity:0;
}
.hero-pic-box .img {
	width: 100%;
	position: relative;
	opacity: 0;
}

.page-hero h2 {
	position: absolute;
  width: 100%;
  left: 0;
  top: 0;
	opacity: 0;
  transform: translateY(-50%);
	font-size: 3rem;
}

.slide-text.animate {
	animation: slideFade 4s ease forwards;
}

.keyword-scroller {
	height: 240px;
	overflow-y: scroll;
	scrollbar-width: none;
	-ms-overflow-style: none;
	margin: 0 auto;
	max-width: 450px;
	/*border-left: 1px solid #fff;
	border-right: 1px solid #fff;*/
}
.keyword-scroller::-webkit-scrollbar {
	display: none;
}
.keyword-scroller::before {
  content: "";
  display: block;
  position: absolute;
  width: 30px;
  height: 60px;
  left: 0;
}
.keyword-scroller::before {
	background: #fff138;
  top: 0;
}
/*.keyword-scroller::after {
  background: #fff138;
  top: 30px;
}*/
.keyword {
	position: relative;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 4rem;
	font-weight: 700;
	text-align: center;
	/*transition:
		opacity 0.8s ease,
		font-size 0.8s ease,
		transform 0.8s ease;
	will-change: opacity, font-size;*/
}

.service-img {
  position: relative;
}
.service-img::before {
  content: "";
  display: block;
  width: 6%;
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  aspect-ratio: 1/1;
}
.service-img::after {
  content: "";
  display: block;
  width: 6%;
  position: absolute;
  bottom: -9%;
  left: -6%;
  background: #fff138;
  aspect-ratio: 1/1;
}

.reeva-section ul {
	list-style: none;
	padding: 0;
}
.reeva-section ul li {
	position: relative;
	padding-left: 30px;
}
.reeva-section ul li::before {
	content: "";
  display: block;
  width: 20px;
  height: 20px;
  background: #b538ff;
  position: absolute;
  left: 0;
  top: 7px;
}
ul li h5 {
  margin: 0 !important;
}

.grid-blocks {
  /*display: flex;
  width: 100%;*/
	display: grid;
  width: 100%;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
}
.grid-blocks > div {
  /*width: 25%;*/
  aspect-ratio: 1/1;
  /*max-width: 25%;*/
}
.grid-blocks .title-block {
	padding-right: 20px;
  font-size: 5rem;
  line-height: 1;
  font-weight: 600;
  display: flex;
  align-items: center;
  color: #7338ff;
}
.grid-blocks .text-block {
  border: 1px solid #7338ff;
  padding: 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.grid-blocks .color-block > div {
  background: #7338ff;
  aspect-ratio: 1/1;
}
.pixel-fade-in {
	opacity: 0;
	transform: scale(0.1);
}
.animate .pixel-fade-in {
	animation: pixelFadeIn 0.3s ease-in-out forwards;
}
.text-block.nb-rb {
  border-right: 0;
  border-bottom: 0;
}
.text-block.nb-lb {
  border-left: 0;
  border-bottom: 0;
}
.text-block.nb-lt {
  border-top: 0;
  border-left: 0;
}
.text-block.nb-a {
  border: 0;
}

#team {
  line-height: 50px;
  font-size: 50px;
  margin-bottom: 75px;
  padding-left: 70px;
  position: relative;
  color: #7338ff;
  font-weight: 600;
}
#team::before {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  position: absolute;
  left: 0;
  top: 0;
  background: #fff138;
}
.team-members {
  display: flex;
  flex-direction: column;
  gap: 100px;
}
.team-member {
	position: relative;
  display: flex;
  gap: 40px;
}
.member-picture-wrap {
  width: 100%;
  max-width: 320px;
}
.member-picture {
  background: #7338ff;
  width: 100%;
  aspect-ratio: 1/1;
}
.member-bio {
	position: relative;
  max-width: 760px;
  font-size: 1.3rem;
}
.member-bio h2 {
	margin-bottom: 10px;
}
.member-bio h4 {
	color: #7338ff;
}
.team-member::before {
  content: "";
  display: block;
  position: absolute;
  width: 30px;
  height: 30px;
  bottom: 0;
  right: 0;
  background: #b538ff;
}
.team-member::after {
	content: "";
  display: block;
  position: absolute;
  width: 60px;
  height: 30px;
  bottom: -30px;
  right: 0;
  background: #000;
}

.cta-section {
	background-color: #7338ff;
	background-repeat: no-repeat;
	background-position: calc(100% + 100px) center;
	background-size: 400px;
	background-image: url("./assets/images/pixilated-star-wht.svg");
}
.cta-section h3 {
	margin-bottom:20px;
}
.cta-section h3, .cta-section p {
	color:#fff
}

.page-hero-wrap {
	background: #7338ff;
  background-repeat: no-repeat;
  background-position: calc(100% + 100px) center;
  background-size: 50%;
  background-image: url('./assets/images/pixilated-star-wht.svg');
}
.page-hero {
	display: flex;
	align-items: center;
	position: relative
}
.text-slider {
	position: relative;
	width: 50%
}
.slide-text {
	color: #fff;
  line-height: 1.2em;
  margin: 0;
}
.page-hero .page-title {
	position: absolute;
	color: #000;
	bottom: 0;
	margin: 0;
	font-size: 4rem;
	line-height: 1;
}

.keyword-scroller-container {
	position: relative;
	height: 240px
}
#rv-modal-wrap {
	position: fixed;
  width: 0px;
  height: 0px;
  z-index: 0;
  top: 0;
  left: 0;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
	overflow: hidden;
}
.rv-modal-content {
	position: relative;
	margin: 0 auto;
	padding: 20px;
	width: 100%;
	max-width: 800px;
	min-height: 200px;
	background-color: #fff;
}
.rv-modal-content.loading::before {
	content: "";
	display: block;
	width: 30px;
	height: 30px;
	position: absolute;
	top: calc(50% - 15px);
	left: calc(50% - 15px);
	border: 3px solid #000;
	border-bottom-color: transparent;
	border-radius: 50px;
	animation: spinning 1s linear infinite;
}
@keyframes spinning {
	to {
		transform: rotate(350deg);
	}
}
.rv-modal-close {
	width: 40px;
	height: 40px;
	position: absolute;
	right: 10px;
	top: 10px;
	border: 0;
	background-color: transparent;
	cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22%23ffffff%22%20class%3D%22bi%20bi-x-lg%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20d%3D%22M2.146%202.854a.5.5%200%201%201%20.708-.708L8%207.293l5.146-5.147a.5.5%200%200%201%20.708.708L8.707%208l5.147%205.146a.5.5%200%200%201-.708.708L8%208.707l-5.146%205.147a.5.5%200%200%201-.708-.708L7.293%208z%22%2F%3E%3C%2Fsvg%3E");
	background-repeat: no-repeat;
	background-size: 30px;
	background-position: center;
	transition: transform 0.2s ease-in-out;
}
.rv-modal-close:hover {
	transform: rotate(90deg);
}
.open-reeva-modal #rv-modal-wrap {
  width: 100vw;
  height: 100vh;
	padding: 50px 0;
  z-index: 10000;
  background: #7338ffe5;
  top: 0;
  left: 0;
	opacity: 1;
  overflow-y: scroll;
}
.open-reeva-modal {
	overflow: hidden;
}

.reeva-services-section {
	display: flex;
	flex-direction: column;
	gap: 100px
}
.reeva-service {
	display: flex;
	gap: 50px;
	align-items: center
}
.reeva-service > div {
	width: 50%;
}
.reeva-service h3 {
	color: #7338ff;
}

.reeva-service.reverse {
	flex-direction: row-reverse;
}

.reeva-service.reverse .service-img::after {
	left: auto;
	right: -6%;
}

.project-samples {
	position: relative;
	display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.project-samples .side {
	width: calc(50% - 10px);
}

.portfolio-section .fixed-intro-wrap {
	width: 40%
}
.portfolio-section .scrollable-content {
	width: 60%
}

.portfolio-section .intro-and-content:not(:last-child) {
	margin-bottom: 180px;
}
.portfolio-section .fixed-intro h6 {
	color: #b538ff;
	margin: 0;
}
.portfolio-section .fixed-intro h4,
.portfolio-section .fixed-intro h5 {
	color: #7338ff;
}

.wpforms-container .wpforms-field {
  padding-bottom: 25px;
}
div.wpforms-field .wpforms-field-label {
	font-size: 1rem;
	color: #000;
}
div.wpforms-field:not(.wpforms-field-checkbox) .wpforms-field-label  {
	margin-bottom: 10px;
}

div.wpforms-field input[type=text], div.wpforms-field input[type=email],
div.wpforms-field textarea {
	padding: 10px 0 !important;
	border: 0;
	border-bottom: 2px solid #f7f7f7;
	border-bottom-width: 2px !important;
	border-radius: 0;
	box-shadow: none !important;
	border-left: 0 !important;
	border-right: 0 !important;
}
div.wpforms-field.wpforms-field-select-style-modern .choices .choices__inner {
	border-radius: 0 !important;
}
div.wpforms-field:hover .wpforms-field-label, .wp-core-ui div.wpforms-field .wpforms-field-label {
	font-size: 1rem;
	color: #7338ff;
}
div.wpforms-field:hover input[type=text], div.wpforms-field:hover input[type=email],
div.wpforms-field:hover textarea {
	border-color: #7338ff !important;
}
div.wpforms-field input[type=text]:focus, div.wpforms-field input[type=email]:focus,
div.wpforms-field textarea:focus {
	border-color: #7338ff !important;
}
.wpforms-field.wpforms-field-select-style-modern:hover .choices:not(.is-open)[data-type*="select-one"]:after {
	border-top-color: #7338ff !important;
}
.wpforms-field.wpforms-field-select-style-modern:hover .choices.is-open[data-type*="select-one"]:after {
	border-bottom-color: #7338ff !important;
}
div.wpforms-field.wpforms-field-select-style-modern:hover .choices .choices__inner {
	border-color: #7338ff !important;
}

div.wpforms-field.wpforms-field-select-style-modern .choices.is-open .choices__list.choices__list--dropdown {
	border-color: #7338ff !important;
	box-shadow: none !important;
}

div.wpforms-field.wpforms-field-select-style-modern .choices.is-open .choices__list.choices__list--dropdown .choices__item--selectable.is-highlighted {
	color: #fff;
	background-color: #7338ff;
}

.wpforms-container-full ul {
	display: flex !important;
	gap: 30px !important;
	flex-wrap: wrap !important;
}
.wpforms-container-full ul label {
	font-weight: 500 !important;
}

.cta-section h3, .cta-section p {
	width: calc(100% - 300px);
}

.reeva-img-and-info {
	display: flex;
	gap: 10%;
	align-items: center;
}

.reeva-img-and-info > div {
	width: 50%;
}

/*.animate .hero-pic-box .polygon {
	animation: heroImg .6s ease-in-out forwards;
}
.animate .hero-pic-box .img {
	animation: polygon 0.6s .3s ease-in-out forwards;
}*/

.ct-panel-inner::before {
  content: "";
  display: block;
  width: 60px;
  height: 30px;
  background: #b538ff;
  left: 0;
  top: 0;
  position: absolute;
}


.glightbox-container .gprev, .glightbox-container .gnext {
  display: none;
}
#footer [data-column=widget-area-1] .widget_text p {
	max-width: 400px;
}
#footer h3.widget-title,
#footer .widget-menu {
	font-size: 1rem !important;
}
#footer {
	background: #000;
}
#footer a:not(:hover) {
  color: var(--theme-palette-color-7) !important;
}
#footer h3 {
  color: var(--theme-palette-color-1);
}

#footer .reeva-footer-social-icons a:not(:hover) svg {
  fill: var(--theme-palette-color-7);
}
#footer p {
  max-width: 400px;
  color: var(--theme-palette-color-7);
}

[class*="ct-contact-info"] ul {
	gap: 5px;
}

#footer [data-column=widget-area-3] .widget_block:nth-child(2) {
	margin-top: 15px;
}

#footer .footer-contact-us-btn {
	padding: 10px 20px;
  border-radius: 50px;
  font-size: 1rem;
  background: var(--theme-palette-color-1);
}
#footer .footer-contact-us-btn:not(:hover) {
  color: #fff !important;
}
#footer .footer-contact-us-btn:hover {
	color: #fff !important;
  background: var(--theme-palette-color-2);
}
.header-lang-btn {
	position: relative;
	right: -10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	/*color: #fff;*/
	font-size:0.8rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 50px;
	/*background: var(--theme-palette-color-1);*/
	border: 1px solid #000;
	padding: 8px; 
}
#offcanvas .header-lang-btn {
	left: auto;
	right: auto;
	border-color: #7338fe;
}




.fade-up,
.fade-left,
.fade-left-active,
.fade-right,
.fade-right-active,
.pop-up,
.pop-up-active,
.btn-reveal,
.btn-reveal-active,
.grow-sideways-active {
	opacity: 0;
}
.animate .fade-up, .animate-if-visible.animate.fade-up,
.animate .active .fade-up-active {
	animation: fadeUp 0.5s ease-in-out forwards;
}
.animate .fade-left,
.animate .active .fade-left-active {
	animation: fadeLeft 0.5s ease-in-out forwards;
}
.animate .fade-right,
.animate .active .fade-right-active {
	animation: fadeRight 0.5s ease-in-out forwards;
}

.animate .pop-up,
.animate .active .pop-up-active {
	animation: popUp 1s ease-in-out forwards;
}

.animate .btn-reveal,
.animate .active .btn-reveal-active {
	animation: buttonReveal 0.5s ease-in-out forwards;
}

.animate .active .grow-sideways-active {
	animation: growSideways 0.5s ease-in-out forwards;
}


.pixel {
  width: 2%;
  display: block;
  background: #7338ff;
  position: absolute;
  top: 0;
  right: 0;
  height: auto;
  aspect-ratio: 1/1;
	opacity: 0;
	transform: scale(0.6);
}
.home-hero-wrap .pixel {
	width: 2.8%;
}
.animate .pixel {
	animation: pixelFadeIn 0.6s ease-out forwards;
}

.an-del2 {
	animation-delay: 0.2s !important;
}
.an-del4 {
	animation-delay: 0.4s !important;
}
.an-del6 {
	animation-delay: 0.6s !important;
}
.an-del8 {
	animation-delay: 0.8s !important;
}
.an-del2-5 {
	animation-delay: 0.7s !important;
}
.an-del4-5 {
	animation-delay: 0.9s !important;
}
.an-del6-5 {
	animation-delay: 1.1s !important;
}
.an-del8-5 {
	animation-delay: 1.3s !important;
}

.our-clients {
	padding: 50px 0;
}

.rv-logo-scroller {
	width: 100% !important;
	overflow: hidden !important;
	white-space: nowrap;
	position: relative !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.rv-logo-scroller-inner {
	position: relative;
	flex-wrap: nowrap !important;
	--rv-logo-scroll-distance: 0px;
	--rv-logo-scroller-duration: 15000;
}
.rv-logo-scroller-inner.animate {
	left: 0;
	justify-content: flex-start !important;
	animation: logoScroll linear infinite;
	animation-duration: calc(var(--rv-logo-scroller-duration) * 1ms);
}

.rv-logo-item {
	display: inline-block;
	max-width: 200px !important;
	min-width: 200px !important;
}
.rv-logo-item img {
	/*filter: brightness(0) invert(1);
	opacity: 0.3;
	transition: all 0.3s ease;*/
	width: 100%;
	max-width: 90%;
}
.rv-logo-item:hover img {
	filter: none;
	opacity: 1;
}


.wp-block-reeva-home-hero.vid-bg {
	background-color: #000;
}
.vid-bg .home-hero-info h1, .vid-bg .home-hero-info p {
	color: #fff;
}

.vid-bg .home-hero {
  position: relative;
  z-index: 2;
}
.vid-bg .pixel-pattern {
	opacity: 0.3;
	z-index: 2;
}
.hero-video-wrap {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 1;
  overflow: hidden;
}
.hero-video-wrap::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  content: "";
  z-index: 1;
  opacity: 0.4;
}
.hero-video {
  position: absolute;
  left: 50%;
  top: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

@keyframes logoScroll {
	0% {
		left: 0;
	}
	100% {
		left: var(--rv-logo-scroll-distance);
	}
}

@keyframes pixelFadeIn {
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes fadeUp {
	0% { opacity: 0; transform: translateY(30px); }
	100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
	0% { opacity: 0; transform: translateX(30px); }
	100% { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
	0% { opacity: 0; transform: translateX(-30px); }
	100% { opacity: 1; transform: translateX(0); }
}

@keyframes popUp {
	0% { opacity: 1; transform: translateY(60px) rotate(0) }
	55% { transform: translateY(-20px) rotate(30deg) }
	75% { transform: translateY(5px) rotate(-5deg) }
	95% { transform: translateY(-5px) rotate(5deg) }
	100% { opacity: 1; transform: translateY(0) rotate(0) }
}

@keyframes growSideways {
	0% { opacity: 1; width: 0; }
	100% { opacity: 1; width: 100% }
}

@keyframes buttonReveal {
	0% { opacity: 1; width: 0; padding-right: 25px; }
100% { opacity: 1; width: 100%; padding-right: 60px; }
}
@keyframes buttonRevealAr {
	0% { opacity: 1; width: 0; padding-left: 25px; }
100% { opacity: 1; width: 100%; padding-left: 60px; }
}

@keyframes polygon {
	0% { opacity: 1; right: -100px; }
	100% { opacity: 1; right: 0; }
}

@keyframes heroImg {
	0% { opacity: 1; right: -35px; }
	100% { opacity: 1; right: 0; }
}

@keyframes slideFade {
	0%, 100% {
		opacity: 0;
		transform: translateY(-30%);
	}
	10%, 80% {
		opacity: 1;
		transform: translateY(-50%);
	}
	90% {
		opacity: 0;
		transform: translateY(-70%);
	}
}

@media (max-width: 1024px) {
	.grid-blocks {
		grid-template-columns: repeat(3, 1fr)
  }
	.grid-blocks .title-block {
		font-size: 4rem;
	}
	.grid-blocks .text-block {
		font-size: 1rem;
	}
	
	.home-hero-info h1 {
		font-size: 2.5em;
	}
	.home-hero-info p {
		font-size: 1.2rem;
	}
	.hero-icn {
		width: 40px;
		height: 40px;
	}
	.h-icn1 {
		top: -95px;
		left: 25%;
	}
	.h-icn2 {
		top: -40%;
	}
	.services-slide .figure-wrap {					height: 60px;
	}
	.services-slide .figure {
		width: 195px;
	}
	.reeva-img-and-info {
	  align-items: start;
	}
	.page-hero h2 {
		margin-top: 25px;
		font-size: 2rem;
	}
	.reeva-service {
		align-items: start;
	}
	
}

@media (max-width: 768px) {
	p, li {
		font-size: 1.1rem !important;
	}
	.grid-blocks {
		grid-template-columns: repeat(2, 1fr)
	}
	.home-hero {
		flex-direction: column-reverse;
	}
	.home-hero-pic {
  	margin-top: 50px;
	}
	.h-icn1 {
    top: 10px;
  }
	.h-icn2 {
    top: -10%;
  }
	.home-hero-info {
		width: 100%;
	}
	.services-slider-wrap {
		display: flex;
		gap: 20px;
		flex-direction: column;
	}
	.services-intro, .services-slider {
		width: 100%;
	}
	.services-slide .figure-wrap {					height: 100px;
	}
	.services-slide .figure {
		width: 300px;
	}
	.services-slide h3 {
		font-size: 1.5rem;
	}
	
	.reeva-services-wrap .reeva-section {
		padding-top: 50px;
	}
	
	
	.member-bio h2 {
		font-size: 2rem;
	}
	.pixelated-title {
		font-size: 2.7rem;
	}
}

@media (max-width: 576px) {
	.pixel-pattern {
		width: 225%;
	}
	.home-hero-pic {
		margin-top: 100px;
		margin-bottom: 70px;
		width: 100%;
	}
	.hero-pic-box {
		width: 100%;
	}
	.hero-icn {
		width: 50px;
		height: 50px;
	}
	.h-icn1 {
		bottom: -80px;
		left: 70%;
		top: auto;
	}
	.h-icn2 {
		top: auto;
		bottom: -60px;
		left: 5px;
	}

	
	.grid-blocks {
		grid-template-columns: repeat(1, 1fr)
	}
	.grid-blocks .text-block {
		font-size: 1.3rem;
	}
	.page-hero-wrap {
		background-position: calc(100% + 100px) -70px !important;
		background-size: 325px;
	}
	.page-hero {
		padding-top: 160px;
	}
	.text-slider {
		margin-top: 30px;
		width: 100%;
	}
	.page-hero h2 {
		margin-top: 25px;
	}
	.page-hero .page-title {
		font-size: 3rem
	}
	
	.reeva-section {
		padding-top: 50px;
		padding-bottom: 50px;
	}
	
	.grid-blocks .title-block {
		background: #7338ff;
		color: #fff;
		padding: 20px;
		justify-content: center;
	}
	.grid-blocks .color-block {
		display: none;
	}
	
	#team {
		line-height: 30px;
		font-size: 30px;
		padding-left: 50px;
	}
	#team::before {
		width: 30px;
		height: 30px;
	}
	.team-member {
		gap: 10px;
		flex-direction: column;
	}
	.member-bio {
		font-size: 1.2rem;
	}
	.member-bio h2 {
		margin-bottom: 0;
	}
	.member-bio h4 {
		font-size: 1.5rem;
	}
	
	.cta-section .reeva-section {
		padding-top: 150px;
	}
	.cta-section {
		background-position: calc(100% + 185px) -255px !important;
	}
	.cta-section h3, .cta-section p {
		width: 100%;
	}
	.services-slider .slider-nav > span {
		z-index: 1;
	}
	.services-slider .slider-nav .prev {
		left: -15px;
	}
	.services-slider .slider-nav .next {
		right: -15px;
	}
	.services-slides {
		margin: 0 10px;
		width: calc(100% - 20px);
	}
	.services-slide .figure {
		width: 280px;
	}
	.s-icn1 {
		top: 10px;
		left: 230px;
	}
	.s-icn2 {
		top: 0;
		left: 0;
	}
	
	.reeva-section .columns-3 {
		flex-direction: column;
	}
	.columns-3 > div,
	.fixed-intro-wrap, .scrollable-content,
	.reeva-service > div,
	.portfolio-section .fixed-intro-wrap,
	.portfolio-section .scrollable-content,
	.project-samples .side {
		width: 100%;
	}
	
	.intro-and-content {
		flex-direction: column;
		position: relative;
	}
	.portfolio-section .intro-and-content:not(:last-child)::before {
		content: "";
		display: block;
		width: 30px;
		height: 30px;
		position: absolute;
		background: #b538ff;
		bottom: -105px;
		left: 30px;
	}
	.portfolio-section .intro-and-content:not(:last-child)::after {
		content: "";
		display: block;
		width: 30px;
		height: 30px;
		position: absolute;
		background: #b538ff;
		bottom: -75px;
		left: 0;
	}
	.portfolio-section .intro-and-content:not(:last-child) {
		margin-bottom: 150px;
	}
	
	.reeva-service, .reeva-service.reverse {
		flex-direction: column-reverse;
		gap: 20px;
	}
	
	.service-img::after,
	.reeva-service.reverse .service-img::after {
		top: 0;
		bottom: auto;
		left: 6%;
	}
	.reeva-service h3 {
		margin-bottom: 15px;
	}
	.reeva-section ul li {
		padding-left: 25px;
	}
	.reeva-section ul li::before {
		width: 15px;
  	height: 15px;
	}
	.pixelated-title {
		font-size: 2rem;
	}
	.pixelated-title.p-center > span {
		padding-right: 0;
		border-right:0;
	}
	.pixelated-title.p-center,
	.v-center {
		text-align: left;
	}
	.c-center {
		justify-content: start;
	}
	
	.reeva-img-and-info {
		flex-direction: column;
		gap: 20px;
	}
	.reeva-img-and-info > div {
		width: 100%;
	}

	.vid-bg .pixel-pattern {
		opacity: 0;
	}
	.hero-video-wrap::after {
	  opacity: 0.6;
	}
	
}